toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'createNewSupergroupChat',
if (extra != null) '@extra': extra,
'title': title,
'is_forum': is_forum,
'is_channel': is_channel,
'description': description,
'location': location,
'message_auto_delete_time': message_auto_delete_time,
'for_import': for_import
};
}