RetryConfig constructor
const
RetryConfig({})
Implementation
const RetryConfig({
this.enabled = true,
this.maxAttempts = 3,
this.initialDelay = const Duration(seconds: 1),
this.backoffMultiplier = 2.0,
this.maxDelay = const Duration(seconds: 10),
this.retryableStatusCodes = const {408, 429, 500, 502, 503, 504},
});