ApiRetryConfig constructor
const
ApiRetryConfig({})
Implementation
const ApiRetryConfig({
this.enabled = true,
this.maxAttempts = 3,
this.baseDelay = const Duration(milliseconds: 300),
this.maxDelay = const Duration(seconds: 8),
this.retryStatusCodes = const <int>{408, 425, 429, 500, 502, 503, 504},
});