cached property
Iterable<E>
get
cached
Returns a new lazy Iterable that caches the computation of the current Iterable.
This is an alternative to toList to not recompute the collection multiple times, without having to lose the lazy loading aspect of Iterable.
Implementation
Iterable<E> get cached => _CachedIterable<E>(this);