isUnsuccessfulResponse function Null safety

bool isUnsuccessfulResponse(
  1. ParseNetworkResponse apiResponse
)

Implementation

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