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