ListExtension<T> extension
An extension for List.
- on
-
- List<
T>
- List<
Methods
-
replaceFirstWhere(
bool condition(T item), T replace(T item)) → void -
Replaces the first items from current list, checked by
condition
and replaced byreplace
. -
replaceWhere(
bool condition(T item), T replace(T item), {int count = -1}) → void -
Replaces items from current list, checked by
condition
and replaced byreplace
. -
updateFirstWhere(
bool condition(T item), void update(T item)) → void -
Updates the first items from current list, checked by
condition
and updated byreplace
. -
updateWhere(
bool condition(T item), void update(T item), {int count = -1}) → void -
Updates items from current list, checked by
condition
and updated byreplace
.