isNegative property
bool
get
isNegative
Returns true if the IsoDuration is negative.
An example format of the parsed negative IsoDuration:
-PT15H
Minus operator is allowed only before the literal P.
Implementation
bool get isNegative => _allProperties.any((element) => element < 0);