shouldAttemptRetryOnResponse method

FutureOr<bool> shouldAttemptRetryOnResponse(
  1. BaseResponse response
)

Defines whether the request should be retried after the request has received response from the server.

Implementation

FutureOr<bool> shouldAttemptRetryOnResponse(BaseResponse response) => false;