chunkedAndTransform<T> method
Splits this collection into several iterables each not exceeding the given
size
and applies the given transform
function to an each.
Implementation
Iterable<T> chunkedAndTransform<T>(
int size,
T Function(Iterable<E> chunk) transform,
) =>
windowedAndTransform<T>(
size: size,
step: size,
transform: transform,
partialWindows: true,
);