grouped method
Returns a new iterator where each element is a collection of size
elements from the original collection. The last element may contain less
than size
elements.
Implementation
RIterator<RIterable<A>> grouped(int size) => iterator.grouped(size);