retryable library Null safety


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


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