toJson method

Object toJson()

Converts the EmbedAuthor to a Map that can be serialized to JSON.

Implementation

Object toJson () => {
  'name': name,
  'url': url,
  'icon_url': iconUrl,
  'proxy_icon_url': proxyIconUrl,
};