shouldRetry method

bool shouldRetry(
  1. int failureCount,
  2. Object error
)

Returns whether the current failure should retry.

Implementation

bool shouldRetry(int failureCount, Object error) =>
    _test(failureCount, error);