forEach method

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

Applies callback to each key/value of this multimap.

Implementation

void forEach(void Function(K key, V value) callback) {
  for (final entry in _map.entries) {
    for (final value in entry.value) {
      callback(entry.key, value);
    }
  }
}