mirror_matchers library
Functions
-
hasProperty(
String name, [Object? matcher]) → Matcher -
Returns a matcher that checks if a class instance has a property
with name
name
, and optionally, if that property in turn satisfies amatcher
.
name
, and optionally, if that property in turn satisfies
a matcher
.