BatchExtension<T> extension
Methods
-
batch(int size, {bool includeTail = false})
→ Iterable<Iterable<T>>
-
Available on Iterable<T>,
provided by the BatchExtension extension
Groups elements in the iterator into batches of size length, optionally
truncating elements that don't fit into a full-size batch.