isZero property

bool get isZero

Returns true if this number is a zero number.

Example: 0.isZero -> true.

Implementation

bool get isZero => this == 0;