toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.audio != null) {
    json[r'audio'] = this.audio;
  } else {
    json[r'audio'] = null;
  }
  if (this.muteAllUsers != null) {
    json[r'mute_all_users'] = this.muteAllUsers;
  } else {
    json[r'mute_all_users'] = null;
  }
  if (this.screenshare != null) {
    json[r'screenshare'] = this.screenshare;
  } else {
    json[r'screenshare'] = null;
  }
  if (this.screenshareAudio != null) {
    json[r'screenshare_audio'] = this.screenshareAudio;
  } else {
    json[r'screenshare_audio'] = null;
  }
    json[r'user_ids'] = this.userIds;
  if (this.video != null) {
    json[r'video'] = this.video;
  } else {
    json[r'video'] = null;
  }
  return json;
}