toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'chatInviteLinkInfo',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'accessible_for': accessible_for,
'type': type,
'title': title,
'photo': photo,
'description': description,
'member_count': member_count,
'member_user_ids': member_user_ids,
'creates_join_request': creates_join_request,
'is_public': is_public,
'is_verified': is_verified,
'is_scam': is_scam,
'is_fake': is_fake
};
}