responseHeaders property

Map? get responseHeaders

The headers provided by a hypothetical response if the request does not get blocked or redirected before it is sent. Represented as an object which maps a header name to a list of string values. If not specified, the hypothetical response would return empty response headers, which can match rules which match on the non-existence of headers. E.g. {"content-type": ["text/html; charset=utf-8", "multipart/form-data"]}

Implementation

Map? get responseHeaders => _wrapped.responseHeaders?.toDartMap();
set responseHeaders (Map? v)

Implementation

set responseHeaders(Map? v) {
  _wrapped.responseHeaders = v?.jsify();
}