Retry<R> constructor

Retry<R>({
  1. required int maxAttempts,
  2. FutureOr<R> orElse()?,
  3. FutureOr<bool> retryIf(
    1. Exception
    )?,
})

Implementation

Retry({
  required this.maxAttempts,
  this.orElse,
  this.retryIf,
});