splitBetween method

*<Null safety>*

Iterable<List<T>> splitBetween (bool test(T first, T second))

Implementation

Iterable<List<T>> splitBetween(bool Function(T first, T second) test) =>
    splitBetweenIndexed((_, first, second) => test(first, second));