copyWith method

BuildWebOptions copyWith({
  1. BuildMode? mode,
  2. RenderingStrategy? renderingStrategy,
  3. bool? release,
  4. bool? debug,
  5. String? output,
  6. String? baseHref,
  7. bool? wasm,
  8. bool? verbose,
  9. bool? dryRun,
  10. bool? clean,
  11. bool? compileFlutter,
  12. bool? strict,
  13. String? configPath,
  14. String? projectDir,
  15. 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,
  );
}