ListExtension2<T> extension
- on
-
- List<
T>
- List<
Methods
-
detachItems(
[bool predicate(T)?]) → Iterable< T> -
Available on List<
Detach items from a list according to a function and return these itemsT> , provided by the ListExtension2 extension -
insertBetween(
T element) → List< T> -
Available on List<
Inserts the same element of typeT> , provided by the ListExtension2 extensionT
between each element in aList<T>
. -
moveTo(
List< T> other, [bool predicate(T)?]) → Iterable<T> -
Available on List<
Move items from one list into another list, and return these itemsT> , provided by the ListExtension2 extension -
removeEqualSiblings(
{bool before = true, bool after = true, bool compareFunction(T item, T other)?}) → Iterable< T> -
Available on List<
Remove items from the list where the previous or next item are equal to it. Returns the removed items.T> , provided by the ListExtension2 extension -
removeFirstWhere(
bool predicate(T), [int count = 1]) → List< T> -
Available on List<
Remove the firstT> , provided by the ListExtension2 extensioncount
items of a list thats satisfy thepredicate
-
removeLastWhere(
bool predicate(T), [int count = 1]) → List< T> -
Available on List<
Remove the lastT> , provided by the ListExtension2 extensioncount
items of a list thats satisfy thepredicate