RetryOptions constructor

const RetryOptions({
  1. int maxAttempts = 3,
  2. Duration initialDelay = const Duration(seconds: 1),
  3. Duration maxDelay = const Duration(seconds: 30),
  4. double backoffMultiplier = 2.0,
  5. bool shouldRetry(
    1. OdbcError
    )?,
})

Implementation

const RetryOptions({
  this.maxAttempts = 3,
  this.initialDelay = const Duration(seconds: 1),
  this.maxDelay = const Duration(seconds: 30),
  this.backoffMultiplier = 2.0,
  this.shouldRetry,
});