negate property

Complex negate

The sign of the current object is changed and the result is returned in a new Complex instance.

Implementation

Complex get negate => Complex(-real, -imaginary);