isZero property
bool
get
isZero
Returns true if the number is zero.
Example:
0.isZero; // true
5.isZero; // false
Implementation
bool get isZero => this == 0;
Returns true if the number is zero.
Example:
0.isZero; // true
5.isZero; // false
bool get isZero => this == 0;