Chunked<T> extension

on
  • Iterable<T>

Methods

chunked<R>(int size, [ChunkedTransform<List<T>, R>? transform]) → Iterable<R>

Available on Iterable<T>, provided by the Chunked extension

Splits into a list of lists, each not exceeding the given size.