forEach method

  1. @override
void forEach(
  1. void fn(
    1. String value,
    2. String name,
    3. Headers parent
    )
)

Executes a provided function once for each key/value pair in this Headers object.

MDN Reference

Implementation

@override
void forEach(void Function(String value, String name, Headers parent) fn) =>
    _headers.forEach(fn);