importJson method

EmbedFooterBuilder importJson(
  1. Map<String, String?> raw
)

Returns a EmbedFooterBuilder with data from the raw json

Implementation

EmbedFooterBuilder importJson(Map<String, String?> raw) {
  this.text = raw["text"];
  this.iconUrl = raw["icon_url"];
  return this;
}