headers property

Map<String, String> get headers

Get headers

Implementation

Map<String, String> get headers {
  _headers[HttpHeaders.contentTypeHeader] = contentType.toString();
  _headers[HttpHeaders.setCookieHeader] =
      _cookies.map((cookie) => cookie.toString()).join(',');
  return _headers;
}