toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'bitrate'] = this.bitrate;
  json[r'channels'] = this.channels;
  if (this.enableDtx != null) {
    json[r'enable_dtx'] = this.enableDtx;
  } else {
    json[r'enable_dtx'] = null;
  }
  return json;
}