forEachKey abstract method

void forEachKey(
  1. void f(
    1. K key,
    2. Iterable<V> value
    )
)

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

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

Implementation

void forEachKey(void Function(K key, Iterable<V> value) f);