factory Complex.exp({double r = 1, required double angle}) { return Complex(real: r * cos(angle), imaginary: r * sin(angle)); }