retryIf property

bool Function(Failure failure)? retryIf
final

Predicate deciding whether to retry given the latest failure. Defaults to failure.isRetryable (true for 5xx, 408, 429).

Implementation

final bool Function(Failure failure)? retryIf;