hasLength function Null safety
- Object? matcher
Returns a matcher that matches if an object has a length property
that matches matcher
.
Implementation
Matcher hasLength(Object? matcher) => _HasLength(wrapMatcher(matcher));
Returns a matcher that matches if an object has a length property
that matches matcher
.
Matcher hasLength(Object? matcher) => _HasLength(wrapMatcher(matcher));