isRetryable function

bool isRetryable(
  1. int statusCode
)

Utility function to check if a status code is in the default retryable list.

Implementation

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