toJson method

Map<String, dynamic> toJson()

Implementation

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