RetryPolicy constructor
const
RetryPolicy({})
Implementation
const RetryPolicy({
this.maxAttempts = 3,
this.initialDelay = const Duration(milliseconds: 300),
this.backoffFactor = 2.0,
this.maxDelay = const Duration(seconds: 10),
this.jitter = 0.2,
this.retryIf = retryTransientFailures,
});