RetryInterceptor constructor

RetryInterceptor({
  1. required Dio dio,
  2. RetryOptions? options,
  3. dynamic errorCallback(
    1. ErrorResult err
    )?,
})

Implementation

RetryInterceptor({required this.dio, RetryOptions? options, this.errorCallback}) : this.options = options ?? const RetryOptions();