ListExtensions<T> extension
Null safety
Methods
-
removeFirst(
) → T - Removes and returns the first object in this list. [...]
-
replaceFirstWhere(
bool test(T), {T? value, T using(T)?, int start = 0}) → T? -
Replace the first item in the list that satisfies the provided
test
with thevalue
provided or obtainedusing
the function provided [...]