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