forEach method Null safety

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) {
  _map.keys.forEach((key) => f(key, this[key]!));
}