isNot function

Matcher isNot(
  1. Object? valueOrMatcher
)

Returns a matcher that inverts valueOrMatcher to its logical negation.

Implementation

Matcher isNot(Object? valueOrMatcher) => _IsNot(wrapMatcher(valueOrMatcher));