isZero property

bool isZero

Checks whether the complex number is zero.

Implementation

bool get isZero => real == 0 && imaginary == 0;