Complex.polar constructor Null safety

Complex.polar(
  1. double r,
  2. double theta
)

Implementation

Complex.polar(double r, double theta)
    : real = r * dart.cos(theta),
      imaginary = r * dart.sin(theta);