forEach method
void
forEach(
- dynamic action(
- K key,
- V value
Performs given action
on each key/value pair from this map.
action
must not be null.
Implementation
void forEach(Function(K key, V value) action) {
entries.forEach((entry) => action(entry.key, entry.value));
}