copyWith method
BuildWebOptions
copyWith(
{ - BuildMode? mode,
- RenderingStrategy? renderingStrategy,
- bool? release,
- bool? debug,
- String? output,
- String? baseHref,
- bool? wasm,
- bool? verbose,
- bool? dryRun,
- bool? clean,
- bool? compileFlutter,
- bool? strict,
- String? configPath,
- String? projectDir,
- String? manifestPath,
})
Implementation
BuildWebOptions copyWith({
BuildMode? mode,
RenderingStrategy? renderingStrategy,
bool? release,
bool? debug,
String? output,
String? baseHref,
bool? wasm,
bool? verbose,
bool? dryRun,
bool? clean,
bool? compileFlutter,
bool? strict,
String? configPath,
String? projectDir,
String? manifestPath,
}) {
return BuildWebOptions(
mode: mode ?? this.mode,
renderingStrategy: renderingStrategy ?? this.renderingStrategy,
release: release ?? this.release,
debug: debug ?? this.debug,
output: output ?? this.output,
baseHref: baseHref ?? this.baseHref,
wasm: wasm ?? this.wasm,
verbose: verbose ?? this.verbose,
dryRun: dryRun ?? this.dryRun,
clean: clean ?? this.clean,
compileFlutter: compileFlutter ?? this.compileFlutter,
strict: strict ?? this.strict,
configPath: configPath ?? this.configPath,
projectDir: projectDir ?? this.projectDir,
manifestPath: manifestPath ?? this.manifestPath,
);
}