importJson method

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

Returns a EmbedAuthorBuilder with data from the raw json

Implementation

EmbedAuthorBuilder importJson(Map<String, String?> raw) {
  name = raw["name"];
  url = raw["url"];
  iconUrl = raw["icon_url"];
  return this;
}