hasHeader method

bool hasHeader(
  1. String key
)

Add a new header value to the request headers.

Implementation

bool hasHeader(String key) {
  return containsKey(key);
}