forEach abstract method
Performs theaction on each header.
Theaction function is called with each header's name and a listof the header's values. The casing of the name string is determined bythe lastadd orset operation for that particular header,which defaults to lower-casing the header name unless explicitlyset to preserve the case.
Implementation
void forEach(void Function(String name, List<String> values) action);