forEach method

void forEach(
  1. HeaderForEachCallback f
)

Enumerates the headers, applying the function f to each header. The header name passed in name will be all lower case.

Implementation

void forEach(HeaderForEachCallback f) {
  for (final key in _map.keys) {
    f(key, this[key]!);
  }
}