toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (chatRestriction != null) 'chatRestriction': chatRestriction!,
if (defaultJoinAsViewerType != null)
'defaultJoinAsViewerType': defaultJoinAsViewerType!,
if (presentRestriction != null) 'presentRestriction': presentRestriction!,
if (reactionRestriction != null)
'reactionRestriction': reactionRestriction!,
};