RetryOptions constructor
const
RetryOptions({})
Creates retry options with the specified configuration.
Implementation
const RetryOptions({
this.enabled = false,
this.maxRetries = 3,
this.initialDelay = const Duration(milliseconds: 500),
this.maxDelay = const Duration(seconds: 30),
this.backoffMultiplier = 2.0,
this.retryableStatusCodes = const [408, 429, 500, 502, 503, 504],
this.retryOnConnectionError = true,
});