RetryOptions constructor

const RetryOptions({
  1. Duration retryJitter = const Duration(milliseconds: 0),
  2. Duration maxDelay = const Duration(seconds: 125),
  3. Duration maxTime = const Duration(seconds: 180),
  4. Duration retryInterval = const Duration(seconds: 5),
  5. int maxRetries = 5,
  6. int exponentialBase = 2,
})

Create a set of RetryOptions.

Implementation

const RetryOptions({
  this.retryJitter = const Duration(milliseconds: 0),
  this.maxDelay = const Duration(seconds: 125),
  this.maxTime = const Duration(seconds: 180),
  this.retryInterval = const Duration(seconds: 5),
  this.maxRetries = 5,
  this.exponentialBase = 2,
});