IterDynXX<T> extension

on

Methods

expandIndexed<R>(Iterable<R> mapper(T item, int index)) List<R>
firstOr([T? ifEmpty]) → T?
forEachAsync(FutureOr onEach(T item)) Future
forEachIndexed<R>(R mapper(T item, int index)) → void
freeze() List<T>
indexed() Iterable<ListIndex<T>>
joinWithAnd([String? formatter(T input)?]) String
lastOr([T? ifEmpty]) → T?
mapIndexed<R>(R mapper(T item, int index)) List<R>
mapPos<R>(R mapper(T item, IterationPosition pos)) Iterable<R>
mapPosIndex<R>(R mapper(T item, int index, IterationPosition pos)) Iterable<R>
maxBy<R extends Comparable<R>>(R by(T item), [T? ifNull]) → T
maxByOrNull<R extends Comparable<R>>(R by(T item), [T? ifNull]) → T?
minBy<R extends Comparable<R>>(R by(T item), [T? ifNull]) → T
minByOrNull<R extends Comparable<R>>(R by(T item), [T? ifNull]) → T?
random() → T
randomOrNull() → T?
sortedBy([Comparator<T>? compare]) List<T>
sortedUsing(Comparable getter(T item)) List<T>
sumBy(double toDouble(T t)) double
sumByInt(int toDouble(T t)) int
toStream() Stream<T>
truncate([int? length]) List<T>
uniqueBy(dynamic uniqueProp(T item)) Iterable<T>