RetryInterceptor constructor

const RetryInterceptor({
  1. int maxAttempts = 3,
  2. Duration initialDelay = const Duration(milliseconds: 500),
})

Implementation

const RetryInterceptor({
  this.maxAttempts = 3,
  this.initialDelay = const Duration(milliseconds: 500),
});