isWarning property

bool get isWarning

Check if timer is in warning state (less than 10% remaining)

Implementation

bool get isWarning =>
    percentageRemaining <= 10.0 && percentageRemaining > 0.0;