toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'updateMessageSendSucceeded',
if (extra != null) '@extra': extra,
'message': message,
'old_message_id': old_message_id
};
}