arrayChunks method

  1. @override
ArrayChunks<T> arrayChunks(
  1. int size
)

Returns an iterator over N elements of the iterator at a time. The chunks do not overlap. If N does not divide the length of the iterator, then the last up to N-1 elements will be omitted and can be retrieved from the .intoRemainder() function of the iterator.

Implementation

@override
@pragma("vm:prefer-inline")
ArrayChunks<T> arrayChunks(int size) => ArrayChunks(this, size);