operator / method
Performs division. If the denominator is zero, throws ArgumentError.
Implementation
Complex operator /(Complex other) {
final denom = other._re * other._re + other._im * other._im;
if (denom == 0.0) throw ArgumentError('Division by zero complex number.');
return Complex(
(_re * other._re + _im * other._im) / denom,
(_im * other._re - _re * other._im) / denom,
);
}