operator + method Null safety
- Complex other
Implementation
Complex operator +(Complex other) =>
Complex(real + other.real, imaginary + other.imaginary);
Complex operator +(Complex other) =>
Complex(real + other.real, imaginary + other.imaginary);