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