infrastructure/network/retry_evaluator library
Functions
-
shouldRetryRequest(
DioException error, int attempt) → FutureOr< bool> -
Decides whether a failed request should be retried. Used as
RetryInterceptor's
retryEvaluatorcallback.
retryEvaluator callback.