isUnsuccessfulResponse function

bool isUnsuccessfulResponse(
  1. ParseNetworkResponse apiResponse
)

Implementation

bool isUnsuccessfulResponse(ParseNetworkResponse apiResponse) =>
    apiResponse.statusCode != 200 && apiResponse.statusCode != 201;