RetryPolicy.exponential constructor

RetryPolicy.exponential({
  1. int? maxRetries,
  2. int? maximumDelay,
})

Exponential retry policy. Useful for production.

Implementation

factory RetryPolicy.exponential({int? maxRetries, int? maximumDelay}) =
    ExponentialRetryPolicy;