Implementation
ScreenShareCaptureOptions copyWith({
bool? captureScreenAudio,
VideoParameters? params,
String? sourceId,
double? maxFrameRate,
bool? preferCurrentTab,
String? selfBrowserSurface,
}) =>
ScreenShareCaptureOptions(
captureScreenAudio: captureScreenAudio ?? this.captureScreenAudio,
params: params ?? this.params,
sourceId: sourceId ?? deviceId,
maxFrameRate: maxFrameRate ?? this.maxFrameRate,
preferCurrentTab: preferCurrentTab ?? this.preferCurrentTab,
selfBrowserSurface: selfBrowserSurface ?? this.selfBrowserSurface,
);