copyWith method
Creates a deep copy of this object and replaces (if non-null) the given values with the old ones.
Implementation
PolarComplex copyWith({
double? r,
double? phiRadians,
double? phiDegrees,
}) =>
PolarComplex(
r: r ?? this.r,
phiDegrees: phiDegrees ?? this.phiDegrees,
phiRadians: phiRadians ?? this.phiRadians,
);