copyWithCompanion method
Implementation
SettingsRow copyWithCompanion(SettingsCompanion data) {
return SettingsRow(
userId: data.userId.present ? data.userId.value : this.userId,
enablePopups: data.enablePopups.present
? data.enablePopups.value
: this.enablePopups,
locale: data.locale.present ? data.locale.value : this.locale,
showIntroduction: data.showIntroduction.present
? data.showIntroduction.value
: this.showIntroduction,
sideBarWidth: data.sideBarWidth.present
? data.sideBarWidth.value
: this.sideBarWidth,
callButtons: data.callButtons.present
? data.callButtons.value
: this.callButtons,
pinnedActions: data.pinnedActions.present
? data.pinnedActions.value
: this.pinnedActions,
callButtonsPosition: data.callButtonsPosition.present
? data.callButtonsPosition.value
: this.callButtonsPosition,
workWithUsTabEnabled: data.workWithUsTabEnabled.present
? data.workWithUsTabEnabled.value
: this.workWithUsTabEnabled,
videoDevice: data.videoDevice.present
? data.videoDevice.value
: this.videoDevice,
audioDevice: data.audioDevice.present
? data.audioDevice.value
: this.audioDevice,
outputDevice: data.outputDevice.present
? data.outputDevice.value
: this.outputDevice,
screenDevice: data.screenDevice.present
? data.screenDevice.value
: this.screenDevice,
noiseSuppression: data.noiseSuppression.present
? data.noiseSuppression.value
: this.noiseSuppression,
noiseSuppressionLevel: data.noiseSuppressionLevel.present
? data.noiseSuppressionLevel.value
: this.noiseSuppressionLevel,
echoCancellation: data.echoCancellation.present
? data.echoCancellation.value
: this.echoCancellation,
autoGainControl: data.autoGainControl.present
? data.autoGainControl.value
: this.autoGainControl,
highPassFilter: data.highPassFilter.present
? data.highPassFilter.value
: this.highPassFilter,
muteKeys: data.muteKeys.present ? data.muteKeys.value : this.muteKeys,
videoVolume: data.videoVolume.present
? data.videoVolume.value
: this.videoVolume,
);
}