retryEvaluator property

RetryEvaluator get retryEvaluator

Evaluating if a retry is necessary.regarding the error.

It can be a good candidate for additional operations too, like updating authentication token in case of a unauthorized error (be careful with concurrency though).

Defaults to defaultRetryEvaluator.

Implementation

RetryEvaluator get retryEvaluator => _retryEvaluator;