IterableExt<T> extension

on

Methods

firstOrNull() → T?

Available on Iterable<T>, provided by the IterableExt extension

firstWhereOrNull(bool judgeFunc(T element)) → T?

Available on Iterable<T>, provided by the IterableExt extension

lastOrNull() → T?

Available on Iterable<T>, provided by the IterableExt extension

lastWhereOrNull(bool judgeFunc(T element)) → T?

Available on Iterable<T>, provided by the IterableExt extension

singleWhereOrNull(bool judgeFunc(T element)) → T?

Available on Iterable<T>, provided by the IterableExt extension

sumBy(int judgeFunc(T element)) int

Available on Iterable<T>, provided by the IterableExt extension

toMap<K>(K findKey(T)) Map<K, T>

Available on Iterable<T>, provided by the IterableExt extension