copyWith method
DiveVideoInfo
copyWith(
{ - String? graphicsModule,
- int? fps,
- int? baseResolution,
- int? outputResolution,
- DiveVideoFormat? outputFormat,
- int? adapter,
- bool? gpuConversion,
- int? colorspace,
- int? range,
- int? scaleType,
})
Implementation
DiveVideoInfo copyWith({
String? graphicsModule,
int? fps,
int? baseResolution,
int? outputResolution,
DiveVideoFormat? outputFormat,
int? adapter,
bool? gpuConversion,
int? colorspace,
int? range,
int? scaleType,
}) {
return DiveVideoInfo(
graphicsModule: graphicsModule ?? this.graphicsModule,
fps: fps as DiveCoreFPS? ?? this.fps,
baseResolution: baseResolution as DiveCoreResolution? ?? this.baseResolution,
outputResolution: outputResolution as DiveCoreResolution? ?? this.outputResolution,
outputFormat: outputFormat ?? this.outputFormat,
adapter: adapter ?? this.adapter,
gpuConversion: gpuConversion ?? this.gpuConversion,
colorspace: colorspace ?? this.colorspace,
range: range ?? this.range,
scaleType: scaleType ?? this.scaleType,
);
}