copyWith method

CallSetting copyWith({
  1. bool? isLowBandwidthMode,
  2. bool? isAudioMuted,
  3. bool? echoCancellationEnabled,
  4. bool? noiseSuppressionEnabled,
  5. bool? agcEnabled,
  6. bool? isVideoMuted,
  7. bool? e2eeEnabled,
  8. WebRTCCodec? preferedCodec,
  9. VideoQuality? videoQuality,
  10. VideoLayout? videoLayout,
})

Implementation

CallSetting copyWith({
  bool? isLowBandwidthMode,
  bool? isAudioMuted,
  bool? echoCancellationEnabled,
  bool? noiseSuppressionEnabled,
  bool? agcEnabled,
  bool? isVideoMuted,
  bool? e2eeEnabled,
  WebRTCCodec? preferedCodec,
  VideoQuality? videoQuality,
  VideoLayout? videoLayout,
}) {
  return CallSetting(
    isLowBandwidthMode: isLowBandwidthMode ?? this.isLowBandwidthMode,
    isAudioMuted: isAudioMuted ?? this.isAudioMuted,
    echoCancellationEnabled:
        echoCancellationEnabled ?? this.echoCancellationEnabled,
    noiseSuppressionEnabled:
        noiseSuppressionEnabled ?? this.noiseSuppressionEnabled,
    agcEnabled: agcEnabled ?? this.agcEnabled,
    isVideoMuted: isVideoMuted ?? this.isVideoMuted,
    e2eeEnabled: e2eeEnabled ?? this.e2eeEnabled,
    preferedCodec: preferedCodec ?? this.preferedCodec,
    videoQuality: videoQuality ?? this.videoQuality,
    videoLayout: videoLayout ?? this.videoLayout,
  );
}