accumulateIList method
OffsetIterator<IList<T> >
accumulateIList({
- String name = 'accumulateIList',
- SeedCallback<
IList< ? seed,T> > - int retention = 0,
- bool? cancelOnError,
- bool bubbleCancellation = true,
Implementation
OffsetIterator<IList<T>> accumulateIList({
String name = 'accumulateIList',
SeedCallback<IList<T>>? seed,
int retention = 0,
bool? cancelOnError,
bool bubbleCancellation = true,
}) =>
scan(
IList(),
(acc, chunk) => acc.addAll(chunk),
name: name,
seed: seed,
retention: retention,
bubbleCancellation: bubbleCancellation,
cancelOnError: cancelOnError,
);