IterablePureExtensions<E> extension

on

Properties

nullIfEmpty Iterable<E>?
returns null or if it is empty returns true.
no setter

Methods

containsAll(Iterable<E> other) bool
Returns true if the specified value is equal to at least one element of the given list; false otherwise
containsAny(Iterable<E> other) bool
Checks whether any element of this iterable is in other iterable.
containsEvery(Iterable<E> other) bool
Checks whether every element of this iterable is in other iterable.
foldWithNext<V>(V initialValue, V combiner(V previousValue, E current, E next)) → V
Reduces a collection to a single value by iteratively combining previous and current element of the collection with an existing value
generateBook({int? valuesPerPage, int? numberOfPages}) Map<int, List<E>>
generateMap<K, V>(MapEntry<K, V> generator(E)) Map<K, V>
Generate the map by collection.
joinBy(E generator(int index)) Iterable<E>
Concatenates the elements given by function.
joinElement(E element) Iterable<E>
Concatenates the elements.
replaces(Map<E, E> replacements) Iterable<E>
replace the old elements contained in the map with new ones.
toMap() Map<int, E>
whereNotContains(Iterable<E> elements) Iterable<E>
Returns a iterable without elements