isNegative property
bool
get
isNegative
Whether the duration is negative.
Implementation
bool get isNegative =>
totalMonths < 0 || (totalMonths == 0 && totalMicroseconds < 0);
Whether the duration is negative.
bool get isNegative =>
totalMonths < 0 || (totalMonths == 0 && totalMicroseconds < 0);