isRetryable function

bool isRetryable(
  1. int statusCode
)

Be careful: this method do not take into account RetryInterceptor.retryableExtraStatuses

Implementation

bool isRetryable(int statusCode) =>
    defaultRetryableStatuses.contains(statusCode);