slices method
Splits this collection into chunks of size elements reactively.
size: The maximum number of elements per chunk (must be at least1).
Requires:
sizemust be greater than or equal to1.
Throws:
- RangeError if
sizeis less than1.
Implementation
Bloom<List<List<E>>> slices(int size) =>
computed((via) => List<List<E>>.unmodifiable(
via(bloom).slices(size).map((s) => List<E>.unmodifiable(s)),
));