toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'inputInlineQueryResultVideo',
if (extra != null) '@extra': extra,
'id': id,
'title': title,
'description': description,
'thumbnail_url': thumbnail_url,
'video_url': video_url,
'mime_type': mime_type,
'video_width': video_width,
'video_height': video_height,
'video_duration': video_duration,
'reply_markup': reply_markup,
'input_message_content': input_message_content
};
}