forEach abstract method

void forEach(
  1. void f(
    1. K key,
    2. V value
    )
)

Applies f to each {key, value} pair of the multimap.

It is an error to add or remove keys from the map during iteration.

Implementation

void forEach(void Function(K key, V value) f);