ListExtensions<T> extension
- on
-
- List<
T>
- List<
Methods
-
countWhere(
bool test(T)) → int - Counts the elements for whichs the predicate holds.
-
forEachIndexed(
void f(T element, int index)) → void - For each method with provides not only the element but the index as well.
-
random(
{int? seed}) → T - Return a random element of the list.