forEach method

void forEach(
  1. void f(
    1. T
    )
)

Iterates over all items in the collection.

Implementation

void forEach(void Function(T) f) => all().forEach(f);