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