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