operator / method
Implementation
Complex operator /(Complex other) {
// ignore: unrelated_type_equality_checks
assert(other != 0);
var a = real;
var b = imaginary;
var c = other.real;
var d = other.imaginary;
return Complex(
real: (a * c + b * d) / (c * c + d * d),
imaginary: (b * c - a * d) / (c * c + d * d));
}