forEach method

void forEach(
  1. void visitor(
    1. String name,
    2. String value
    )
)

Calls visitor once for every individual header value.

Implementation

void forEach(void Function(String name, String value) visitor) {
  for (final entry in _entries.values) {
    for (final value in entry.values) {
      visitor(entry.name, value);
    }
  }
}