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