isNegative property Null safety
Returns whether this Duration
is negative.
A negative Duration
represents the difference from a later time to an
earlier time.
Implementation
bool get isNegative => _duration < 0;
Returns whether this Duration
is negative.
A negative Duration
represents the difference from a later time to an
earlier time.
bool get isNegative => _duration < 0;