headers property
HttpHeaders
get
headers
Returns the response HttpHeaders.
The response headers can be modified until the response body is written to or closed. After that they become immutable.
Implementation
HttpHeaders get headers => _httpResponse.headers;