copyWith method

AdeclipSettings copyWith({
  1. bool? enabled,
  2. double? a,
  3. double? arorder,
  4. int? hsize,
  5. AdeclipM? m,
  6. AdeclipM? method,
  7. int? n,
  8. double? o,
  9. double? overlap,
  10. double? t,
  11. double? threshold,
  12. double? w,
  13. double? window,
})

Returns a copy of this AdeclipSettings with the given fields replaced.

Implementation

AdeclipSettings copyWith({
  bool? enabled,
  double? a,
  double? arorder,
  int? hsize,
  AdeclipM? m,
  AdeclipM? method,
  int? n,
  double? o,
  double? overlap,
  double? t,
  double? threshold,
  double? w,
  double? window,
}) =>
    AdeclipSettings(
      enabled: enabled ?? this.enabled,
      a: a ?? this.a,
      arorder: arorder ?? this.arorder,
      hsize: hsize ?? this.hsize,
      m: m ?? this.m,
      method: method ?? this.method,
      n: n ?? this.n,
      o: o ?? this.o,
      overlap: overlap ?? this.overlap,
      t: t ?? this.t,
      threshold: threshold ?? this.threshold,
      w: w ?? this.w,
      window: window ?? this.window,
    );