toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'messageForwardInfo',
if (extra != null) '@extra': extra,
'origin': origin,
'date': date,
'public_service_announcement_type': public_service_announcement_type,
'from_chat_id': from_chat_id,
'from_message_id': from_message_id
};
}