RetryOptions constructor

RetryOptions({
  1. required int maxRetries,
  2. required bool addJitter,
  3. FutureOr<bool> retryIf(
    1. Object e
    )?,
  4. List<Duration?>? delayDurations,
})

Options to pass into retryClient to control the retry behavior.

Implementation

RetryOptions({
  required this.maxRetries,
  required this.addJitter,
  this.retryIf,
  this.delayDurations,
});