toJson method
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,
};
Converts the EmbedAuthor to a Map that can be serialized to JSON.
Object toJson () => {
'name': name,
'url': url,
'icon_url': iconUrl,
'proxy_icon_url': proxyIconUrl,
};