pairwiseCompare<S, T> function
Null safety
A pairwise matcher for Iterables.
The comparator
function, taking an expected and an actual argument, and
returning whether they match, will be applied to each pair in order.
description
should be a meaningful name for the comparator.
Implementation
Matcher pairwiseCompare<S, T>(Iterable<S> expected,
bool Function(S, T) comparator, String description) =>
_PairwiseCompare(expected, comparator, description);