forEach method

void forEach(
  1. void f(
    1. String name,
    2. List<String> values
    )
)

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

Implementation

void forEach(void f(String name, List<String> values)) {
  headers.forEach(f);
}