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