copyWith method

AudioPublishOptions copyWith({
  1. bool? dtx,
  2. int? audioBitrate,
  3. String? name,
  4. String? stream,
  5. bool? red,
})

Implementation

AudioPublishOptions copyWith({
  bool? dtx,
  int? audioBitrate,
  String? name,
  String? stream,
  bool? red,
}) =>
    AudioPublishOptions(
      dtx: dtx ?? this.dtx,
      audioBitrate: audioBitrate ?? this.audioBitrate,
      name: name ?? this.name,
      stream: stream ?? this.stream,
      red: red ?? this.red,
    );