IterableFindExtension<E> extension

on

Methods

average({num value(dynamic)?}) num?

Available on Iterable<E>, provided by the IterableFindExtension extension

Returns the average of all the values in this iterable, as defined by value.
chunks(int chunkSize) Iterable<List<E>>

Available on Iterable<E>, provided by the IterableFindExtension extension

Split one large list to limited sub lists
find(bool test(E element), {E orElse()?}) → E?

Available on Iterable<E>, provided by the IterableFindExtension extension

find the first element that satisfies the given predicate test.
findIndex(bool test(E element)) int

Available on Iterable<E>, provided by the IterableFindExtension extension

find the first element index that satisfies the given predicate test.
flat<E>({int? depth, dynamic toElements(dynamic e)?}) Iterable<E>

Available on Iterable<E>, provided by the IterableFindExtension extension

Flats each element of this Iterable into zero or more elements.
max({num value(dynamic)?}) → E

Available on Iterable<E>, provided by the IterableFindExtension extension

Returns the element with the maximum value in the iterable.
min({num value(dynamic)?}) → E

Available on Iterable<E>, provided by the IterableFindExtension extension

Returns the element with the minimum value in the iterable.
sum([num addend(dynamic)?]) num

Available on Iterable<E>, provided by the IterableFindExtension extension

Returns the sum of all the values in this iterable, as defined by addend.