NullableListExtensions<E> extension

on

Methods

copyWith(E element) List<E>
Copy current list with adding element at the end of new list.
copyWithAll(List<E> elements) List<E>
Copy current list with adding all elements at the end of new list.
copyWithInsertAll(int index, List<E> elements) List<E>
Copy current list with adding all elements at the position of new list.
copyWithReplace(E element, E replacement) List<E>
Copy current list, replacing all element occurrences with replacement.
copyWithReplaceWhere(TestPredicate<E> test, E replacement) List<E>
Copy current list, replacing elements of list that satisfy test predicate with replacement.