isNegative property
bool
get
isNegative
Returns true if the duration is negative.
Example:
-Duration(seconds: 1).isNegative; // true
Implementation
bool get isNegative => inMicroseconds < 0;
Returns true if the duration is negative.
Example:
-Duration(seconds: 1).isNegative; // true
bool get isNegative => inMicroseconds < 0;