toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'updateNewInlineCallbackQuery',
if (extra != null) '@extra': extra,
'id': id,
'sender_user_id': sender_user_id,
'inline_message_id': inline_message_id,
'chat_instance': chat_instance,
'payload': payload
};
}