copyWith method
A copy with the given fields replaced (re-validated on construction).
Implementation
@useResult
RenderConfig copyWith({
int? width,
int? height,
int? fps,
int? frameCount,
int? startFrame,
Quality? quality,
bool? cacheEnabled,
}) => RenderConfig(
width: width ?? this.width,
height: height ?? this.height,
fps: fps ?? this.fps,
frameCount: frameCount ?? this.frameCount,
startFrame: startFrame ?? this.startFrame,
quality: quality ?? this.quality,
cacheEnabled: cacheEnabled ?? this.cacheEnabled,
);