isOk method
Asserts the response status is in the 2xx range.
Implementation
ResponseExpect isOk() {
if (!_response.isOk) {
throw ChaseTestFailure(
'Expected OK status (2xx) but got ${_response.status}',
);
}
return this;
}
Asserts the response status is in the 2xx range.
ResponseExpect isOk() {
if (!_response.isOk) {
throw ChaseTestFailure(
'Expected OK status (2xx) but got ${_response.status}',
);
}
return this;
}