toPolarCoordinates method

PolarComplex toPolarCoordinates()

Returns an instance of PolarComplex which contains the radius r and the angle phi of the complex number.

Implementation

PolarComplex toPolarCoordinates() => PolarComplex(
      r: abs(),
      phiRadians: phase(),
      phiDegrees: radToDeg(phase()),
    );