expandIndexed<T> method
Flattens this collection along with element indices reactively.
toElements: Indexed function expanding each element into an iterable.
Implementation
Bloom<List<T>> expandIndexed<T>(
Iterable<T> Function(int index, E element) toElements) =>
computed(
(via) => List.unmodifiable(via(bloom).expandIndexed(toElements)));