containsPair function Null safety
Returns a matcher which matches maps containing the key-value pair
with key
=> valueOrMatcher
.
Implementation
Matcher containsPair(Object? key, Object? valueOrMatcher) =>
_ContainsMapping(key, wrapMatcher(valueOrMatcher));