toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '0ef02ce6',
'\$name': 'DocumentAttributeVideo066',
'flags': flags,
'duration': duration,
'w': w,
'h': h,
};
// Finished toJson.
return returnValue;
}