ListExtensions<T> extension
- on
-
- List<
T>
- List<
Properties
- isOneAKind → bool
-
Available on List<
Checks if all list data have same value.T> , provided by the ListExtensions extensionno setter
Methods
-
addAllIf(
ConditionTester< T> condition, Iterable<T> items) → void -
Available on List<
Adds all items from another list to a list if a condition is met.T> , provided by the ListExtensions extension -
addIf(
ConditionTester< T> condition, T element) → void -
Available on List<
Adds an item to a list if a condition is met.T> , provided by the ListExtensions extension -
pop(
) → T? -
Available on List<
Removes and returns the last element of the list.T> , provided by the ListExtensions extension -
removeAllIf(
ConditionTester< T> condition, Iterable<T> items) → void -
Available on List<
Removes all items from another list if a condition is met.T> , provided by the ListExtensions extension -
removeIf(
ConditionTester< T> condition, T element) → void -
Available on List<
Removes an item from a list if a condition is met.T> , provided by the ListExtensions extension -
reverse(
) → List< T> -
Available on List<
Returns a new list with the elements in reverse order.T> , provided by the ListExtensions extension -
shift(
) → T? -
Available on List<
Removes and returns the first element of the list.T> , provided by the ListExtensions extension