operator * method

complex operator *(
  1. Object other
)

Implementation

complex operator *(Object other) {
  final b = _toComplex(other);
  return complex(
    real * b.real - imag * b.imag,
    real * b.imag + imag * b.real,
  );
}