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