abs method

double abs()

Returns the radius of this complex value in polar coordinates, also called the magnitude of the complex number.

Implementation

double abs() => norm().sqrt();