isNegative method
Returns true if the integer is less than zero.
Null values return false.
Implementation
bool isNegative() => (this ?? 0) < 0;
Returns true if the integer is less than zero.
Null values return false.
bool isNegative() => (this ?? 0) < 0;