everyElement function Null safety

Matcher everyElement(
  1. Object? valueOrMatcher
)

Returns a matcher which matches Iterables in which all elements match the given valueOrMatcher.

Implementation

Matcher everyElement(Object? valueOrMatcher) =>
    _EveryElement(wrapMatcher(valueOrMatcher));