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