RetryInterceptor constructor
RetryInterceptor({
- required Dio dio,
- RetryOptions? options,
- dynamic errorCallback(
- ErrorResult err
Implementation
RetryInterceptor({required this.dio, RetryOptions? options, this.errorCallback}) : this.options = options ?? const RetryOptions();