toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'video',
if (extra != null) '@extra': extra,
'duration': duration,
'width': width,
'height': height,
'file_name': file_name,
'mime_type': mime_type,
'has_stickers': has_stickers,
'supports_streaming': supports_streaming,
'minithumbnail': minithumbnail,
'thumbnail': thumbnail,
'video': video
};
}