copyWith method

GeneratorOptions copyWith({
  1. String? defaultLocale,
  2. String? className,
  3. bool? format,
  4. bool? mangle,
  5. bool? builtin,
  6. bool? debug,
  7. String? source,
  8. String? output,
})

Implementation

GeneratorOptions copyWith({
  String? defaultLocale,
  String? className,
  bool? format,
  bool? mangle,
  bool? builtin,
  bool? debug,
  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,
      source: source ?? this.source,
      output: output ?? this.output,
    );