compareMany<T> function
Implementation
Comparator<T> compareMany<T>(
Iterable<Comparator<T>> comparators,
) =>
comparators.reduce(
(a, b) => a.thenCompare(b),
);
Comparator<T> compareMany<T>(
Iterable<Comparator<T>> comparators,
) =>
comparators.reduce(
(a, b) => a.thenCompare(b),
);