Returns true if all elements match the predicate.
true
final allPositive = IntStream.range(1, 5) .allMatch((n) => n > 0); // true
bool allMatch(bool Function(int) predicate);