ListMerging<T> extension

on

Methods

addAllIfNotContains(List<T> items) → void

Available on List<T>, provided by the ListMerging extension

addAllIfNotContainsWhere(bool validator(T e, T item), List<T> items) → void

Available on List<T>, provided by the ListMerging extension

addIfNotContains(T element) → void

Available on List<T>, provided by the ListMerging extension

Do that:
addIfNotContainsWhere(ReplaceValidator<T> validator, T element) → void

Available on List<T>, provided by the ListMerging extension

conditionalMap<E>(E? f(T e)) List<E>

Available on List<T>, provided by the ListMerging extension

conditionalMapIndexed<E>(E? f(int index, T e)) List<E>

Available on List<T>, provided by the ListMerging extension

foldIndexed<E>(E initialValue, E combine(int index, E previousValue, T element)) → E

Available on List<T>, provided by the ListMerging extension

Reduces a collection to a single value by iteratively combining each element of the collection with an existing value
foldTotal(double? builder(T e), {double initial = 0}) double

Available on List<T>, provided by the ListMerging extension

fuse<E>(E element(int index, T e), [E? separator]) List<E>

Available on List<T>, provided by the ListMerging extension

Do that:
insertAll(int index, List<T> items) → void

Available on List<T>, provided by the ListMerging extension

mapIndexed<E>(E f(int index, T e)) List<E>

Available on List<T>, provided by the ListMerging extension

removeAll(List<Object?> values) → void

Available on List<T>, provided by the ListMerging extension

removeDuplicates() List<T>

Available on List<T>, provided by the ListMerging extension

removeDuplicatesWhere<E>(E test(T e)) List<T>

Available on List<T>, provided by the ListMerging extension

removeFirstWhere(ReplaceValidator<T> f) int?

Available on List<T>, provided by the ListMerging extension

removeMapDuplicates<E>(E f(T e)) List<E>

Available on List<T>, provided by the ListMerging extension

repeat(int times) List<T>

Available on List<T>, provided by the ListMerging extension

replaceAt(int index, T value) → T

Available on List<T>, provided by the ListMerging extension

replaceWhere(ReplaceValidator<T> validator, ReplaceValue<T> newValue) bool

Available on List<T>, provided by the ListMerging extension

separete(T separator) List<T>

Available on List<T>, provided by the ListMerging extension

Do that:
textSearch(String query, Iterable<String> test(T e)) List<T>

Available on List<T>, provided by the ListMerging extension