forEach method

void forEach(
  1. void action(
    1. K k,
    2. V v
    )
)

Applies action to each key-value pair in the map.

Implementation

void forEach(void Function(K k, V v) action) {
  value.forEach(action);
}