shouldRetry static method

bool shouldRetry(
  1. int attemptCount
)

Verifica se deve fazer retry baseado no número de tentativas

Implementation

static bool shouldRetry(int attemptCount) {
  return attemptCount < maxRetryAttempts;
}