toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'inputInlineQueryResultLocation',
if (extra != null) '@extra': extra,
'id': id,
'location': location,
'live_period': live_period,
'title': title,
'thumbnail_url': thumbnail_url,
'thumbnail_width': thumbnail_width,
'thumbnail_height': thumbnail_height,
'reply_markup': reply_markup,
'input_message_content': input_message_content
};
}