accumulateIList method

OffsetIterator<IList<T>> accumulateIList({
  1. String name = 'accumulateIList',
  2. SeedCallback<IList<T>>? seed,
  3. int retention = 0,
  4. bool? cancelOnError,
  5. 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,
    );