forEach method

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

Execute the given action for each key value pair

Implementation

void forEach(void Function(K k, V v) action) {
  data.forEach((key, value) {
    for (var subelement in value) {
      action(key, subelement);
    }
  });
}