failed property
Returns true
if the response indicates failure. Otherwise false
.
Unlike HttpResponse.isNotOk, this method also checks the response body for error codes.
Implementation
bool get failed => !success;
Returns true
if the response indicates failure. Otherwise false
.
Unlike HttpResponse.isNotOk, this method also checks the response body for error codes.
bool get failed => !success;