isOk function
Matcher
isOk()
Matches an HTTP response with status code 200 (OK).
Example:
expect(response, isOk());
Implementation
Matcher isOk() => hasStatus(200);
Matches an HTTP response with status code 200 (OK).
Example:
expect(response, isOk());
Matcher isOk() => hasStatus(200);