backoffFunction property

Duration? Function(int) backoffFunction
final

Function for determining the Duration to wait before making the next attempt. See exponentialBackoff for an example.

Implementation

final Duration? Function(int) backoffFunction;