isNullOrZero property

bool get isNullOrZero

Checks whether the number is 0 or null.

Implementation

bool get isNullOrZero => this == null || this == 0;