toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x970c8c0e",
"thumb": thumb,
"thumbW": thumbW,
"thumbH": thumbH,
"duration": duration,
"mimeType": mimeType,
"w": w,
"h": h,
"size": size,
"key": key,
"iv": iv,
"caption": caption,
};
// Finished toJson.
return returnValue;
}