toJson method
Converts the GiphyAsset instance to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return {
'width': width,
'height': height,
'url': url,
'format': format,
};
}
Converts the GiphyAsset instance to a JSON map.
Map<String, dynamic> toJson() {
return {
'width': width,
'height': height,
'url': url,
'format': format,
};
}