toJson method
Converts the EmbedThumbnail to a Map that can be serialized to JSON.
Implementation
Object toJson () => {
'url': url,
'proxy_url': proxyUrl,
'width': width,
'height': height,
};
Converts the EmbedThumbnail to a Map that can be serialized to JSON.
Object toJson () => {
'url': url,
'proxy_url': proxyUrl,
'width': width,
'height': height,
};