canResend property

bool get canResend

True when resend can be invoked: the cooldown has elapsed and no operation is currently in flight.

Implementation

bool get canResend => _cooldownRemaining == 0 && !_isLoading;