retryable library Null safety

Functions

retry<T>(Future<T> computation(), {Cancelable? cancelable, Future<void> cancel()?, Able? able}) Future<T>
retry Retry operation. computation Computation operation. cancelable Cancelable context. cancel Cancel function called when cancelable.cancel(). able Able to retry

Typedefs

Able = Future<void> Function(int i, dynamic error)
Able Able means able to retry. i Current retry times. error Latest error.