has method

  1. @override
bool has(
  1. String name
)

Returns a boolean stating whether a Headers object contains a certain header.

MDN Reference

Implementation

@override
bool has(String name) => _headers.has(name);