IterableWindowed<E> extension

on

Methods

windowed(int size, {int step = 1, bool partialWindows = false}) Iterable<List<E>>
Returns a new lazy Iterable of windows of the given size sliding along this collection with the given step.