resendFraction property

double get resendFraction

Fraction of the resend cooldown still to wait (1 -> 0).

Implementation

double get resendFraction =>
    resendTotal <= 0 ? 0 : (resendRemaining / resendTotal).clamp(0, 1);