isString top-level constant Null safety
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>();