RetryInterceptor constructor
RetryInterceptor({})
Implementation
RetryInterceptor({
this.maxRetries = 3,
this.baseDelay = const Duration(milliseconds: 1000),
this.maxDelay = const Duration(seconds: 30),
this.backoffMultiplier = 2.0,
this.retryOnTimeout = true,
this.retryOnConnectionError = true,
this.retryStatusCodes = const [408, 429, 500, 502, 503, 504],
});