RetryOptions constructor

const RetryOptions({
  1. int retries = 3,
  2. RetryEvaluator retryEvaluator = defaultRetryEvaluator,
  3. Duration retryInterval = const Duration(seconds: 1),
})

Implementation

const RetryOptions(
    {this.retries = 3,
    RetryEvaluator retryEvaluator = defaultRetryEvaluator,
    this.retryInterval = const Duration(seconds: 1)})
    : _retryEvaluator = retryEvaluator;