Whether the network call was successful or not.
true if the result code of the network call is >= 200 && <300 If false, error will contain the converted error response body.
true
bool get isSuccessful => statusCode >= 200 && statusCode < 300;