isString top-level constant
TypeMatcher<String>
const isString
Validates that value is a String
.
Usage:
var response = await client.request("/foo").get();
expect(response, hasResponse(200, {"id": isString}));
Implementation
const TypeMatcher<String> isString = TypeMatcher<String>();