phase method
Converts rectangular coordinates to polar coordinates by computing an arc tangent of y/x in the range from -pi to pi.
Implementation
double phase() => math.atan2(imaginary, real);
Converts rectangular coordinates to polar coordinates by computing an arc tangent of y/x in the range from -pi to pi.
double phase() => math.atan2(imaginary, real);