copyWith method
GeneratorOptions
copyWith(
{ - String? defaultLocale,
- String? className,
- bool? format,
- bool? mangle,
- bool? builtin,
- bool? debug,
- bool? pruneUnused,
- bool? promoteLater,
- bool? dryRun,
- String? source,
- String? output,
})
Implementation
GeneratorOptions copyWith({
String? defaultLocale,
String? className,
bool? format,
bool? mangle,
bool? builtin,
bool? debug,
bool? pruneUnused,
bool? promoteLater,
bool? dryRun,
String? source,
String? output,
}) => GeneratorOptions(
defaultLocale: defaultLocale ?? this.defaultLocale,
className: className ?? this.className,
format: format ?? this.format,
mangle: mangle ?? this.mangle,
builtin: builtin ?? this.builtin,
debug: debug ?? this.debug,
pruneUnused: pruneUnused ?? this.pruneUnused,
promoteLater: promoteLater ?? this.promoteLater,
dryRun: dryRun ?? this.dryRun,
source: source ?? this.source,
output: output ?? this.output,
);