toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'addLocalMessage',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'sender_id': sender_id,
'reply_to': reply_to,
'disable_notification': disable_notification,
'input_message_content': input_message_content
};
}