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) {
  text = raw["text"];
  iconUrl = raw["icon_url"];
  return this;
}