forEach method Null safety

void forEach (
  1. void action(
    1. E element
    )
)
override

Executes a function on each element of the set.

The elements are iterated in insertion order.

Implementation

void forEach(void action(E element));