toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'messageLinkInfo',
if (extra != null) '@extra': extra,
'is_public': is_public,
'chat_id': chat_id,
'message_thread_id': message_thread_id,
'message': message,
'media_timestamp': media_timestamp,
'for_album': for_album
};
}