shouldRetry method
Used to decide if the repository should retry after an error.
Implementation
@override
FutureOr<bool> shouldRetry(Exception exception) {
return _shouldRetryCondition?.call(exception) ??
super.shouldRetry(exception);
}
Used to decide if the repository should retry after an error.
@override
FutureOr<bool> shouldRetry(Exception exception) {
return _shouldRetryCondition?.call(exception) ??
super.shouldRetry(exception);
}