shouldRetry method

bool shouldRetry(
  1. int currentRetryCount
)

Implementation

bool shouldRetry(int currentRetryCount) {
  return currentRetryCount < maxRetries;
}