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