copyWith method

Quadratic copyWith({
  1. Complex? a,
  2. Complex? b,
  3. Complex? c,
})

Creates a deep copy of this object and replaces (if non-null) the given values with the old ones.

Implementation

Quadratic copyWith({
  Complex? a,
  Complex? b,
  Complex? c,
}) =>
    Quadratic(
      a: a ?? this.a,
      b: b ?? this.b,
      c: c ?? this.c,
    );