in lib/src/iterable_matchers.dart [342:354]
String? _test(Iterable item, Map matchState) {
var matchers = _expected.map(wrapMatcher).toList();
var matcherIndex = 0;
for (var value in item) {
if (matchers[matcherIndex].matches(value, matchState)) matcherIndex++;
if (matcherIndex == matchers.length) return null;
}
return StringDescription()
.add('did not find a value matching ')
.addDescriptionOf(matchers[matcherIndex])
.add(' following expected prior values')
.toString();
}