isCritical property

bool get isCritical

Check if timer is in critical state (less than 5% remaining)

Implementation

bool get isCritical =>
    percentageRemaining <= 5.0 && percentageRemaining > 0.0;