splitAfter method

*<Null safety>*

Iterable<List<T>> splitAfter (bool test(T element))

Implementation

Iterable<List<T>> splitAfter(bool Function(T element) test) =>
    splitAfterIndexed((_, element) => test(element));