shouldRetry method

  1. @protected
FutureOr<bool> shouldRetry(
  1. Exception exception
)

Used to decide if the repository should retry after an error.

Implementation

@protected
FutureOr<bool> shouldRetry(Exception exception) => true;