toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'inputInlineQueryResultPhoto',
if (extra != null) '@extra': extra,
'id': id,
'title': title,
'description': description,
'thumbnail_url': thumbnail_url,
'photo_url': photo_url,
'photo_width': photo_width,
'photo_height': photo_height,
'reply_markup': reply_markup,
'input_message_content': input_message_content
};
}