toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'basicGroup',
if (extra != null) '@extra': extra,
'id': id,
'member_count': member_count,
'status': status,
'is_active': is_active,
'upgraded_to_supergroup_id': upgraded_to_supergroup_id
};
}