RetryPolicy constructor
const
RetryPolicy({})
Creates a new RetryPolicy
Implementation
const RetryPolicy({
this.maxAttempts = 3,
this.initialDelayMs = 1000,
this.maxDelayMs = 10000,
this.backoffMultiplier = 2.0,
this.retryableStatusCodes = const [408, 429, 500, 502, 503, 504],
});