PgRetryOptions constructor

const PgRetryOptions({
  1. int maxAttempts = 3,
  2. Duration delay = const Duration(milliseconds: 100),
  3. double backoffFactor = 2,
  4. Duration maxDelay = const Duration(seconds: 5),
  5. bool retryIf(
    1. Object error
    )?,
})

Implementation

const PgRetryOptions({
  this.maxAttempts = 3,
  this.delay = const Duration(milliseconds: 100),
  this.backoffFactor = 2,
  this.maxDelay = const Duration(seconds: 5),
  this.retryIf,
});