ChunkTransformer<T> constructor

const ChunkTransformer<T>({
  1. int chunkSize = 8192,
})

Creates a ChunkTransformer that emits sublists of at most chunkSize elements.

The chunkSize must be greater than zero. Defaults to 8192.

Implementation

const ChunkTransformer({this.chunkSize = 8192});