isZero property

bool get isZero

Returns true if the number is zero, false otherwise.

Implementation

bool get isZero => this == 0;