toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'answerInlineQuery',
if (extra != null) '@extra': extra,
'inline_query_id': inline_query_id,
'is_personal': is_personal,
'button': button,
'results': results,
'cache_time': cache_time,
'next_offset': next_offset
};
}