RetryInterceptor constructor
RetryInterceptor({})
Implementation
RetryInterceptor({
required this.dio,
this.logPrint,
this.retries = 3,
this.retryDelays = const [
Duration(seconds: 1),
Duration(seconds: 3),
Duration(seconds: 5),
],
RetryEvaluator? retryEvaluator,
this.ignoreRetryEvaluatorExceptions = false,
}) : _retryEvaluator = retryEvaluator ?? defaultRetryEvaluator;