isNegative property
bool
get
isNegative
Returns true if the number is negative, false otherwise.
Implementation
bool get isNegative => this < 0;
Returns true if the number is negative, false otherwise.
bool get isNegative => this < 0;