isNegative property
bool
get
isNegative
Returns true if the number is negative (less than 0).
Implementation
bool get isNegative => this < 0;
Returns true if the number is negative (less than 0).
bool get isNegative => this < 0;