toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.accessRequestEnabled != null) {
    json[r'access_request_enabled'] = this.accessRequestEnabled;
  } else {
    json[r'access_request_enabled'] = null;
  }
    json[r'default_device'] = this.defaultDevice;
  if (this.micDefaultOn != null) {
    json[r'mic_default_on'] = this.micDefaultOn;
  } else {
    json[r'mic_default_on'] = null;
  }
  if (this.noiseCancellation != null) {
    json[r'noise_cancellation'] = this.noiseCancellation;
  } else {
    json[r'noise_cancellation'] = null;
  }
  if (this.opusDtxEnabled != null) {
    json[r'opus_dtx_enabled'] = this.opusDtxEnabled;
  } else {
    json[r'opus_dtx_enabled'] = null;
  }
  if (this.redundantCodingEnabled != null) {
    json[r'redundant_coding_enabled'] = this.redundantCodingEnabled;
  } else {
    json[r'redundant_coding_enabled'] = null;
  }
  if (this.speakerDefaultOn != null) {
    json[r'speaker_default_on'] = this.speakerDefaultOn;
  } else {
    json[r'speaker_default_on'] = null;
  }
  return json;
}