toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final chatRestriction = this.chatRestriction;
  final defaultJoinAsViewerType = this.defaultJoinAsViewerType;
  final presentRestriction = this.presentRestriction;
  final reactionRestriction = this.reactionRestriction;
  return {
    'chatRestriction': ?chatRestriction,
    'defaultJoinAsViewerType': ?defaultJoinAsViewerType,
    'presentRestriction': ?presentRestriction,
    'reactionRestriction': ?reactionRestriction,
  };
}