isZeroOrNull property

bool get isZeroOrNull

Returns true if the number is either null or zero.

Implementation

bool get isZeroOrNull => this == null || this! == 0;