toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.maxDurationSeconds != null) {
json[r'max_duration_seconds'] = this.maxDurationSeconds;
} else {
json[r'max_duration_seconds'] = null;
}
if (this.maxParticipants != null) {
json[r'max_participants'] = this.maxParticipants;
} else {
json[r'max_participants'] = null;
}
if (this.maxParticipantsExcludeOwner != null) {
json[r'max_participants_exclude_owner'] =
this.maxParticipantsExcludeOwner;
} else {
json[r'max_participants_exclude_owner'] = null;
}
json[r'max_participants_exclude_roles'] = this.maxParticipantsExcludeRoles;
return json;
}