Headers property

  1. @override
WebHeaderCollection get Headers
override
Gets the headers that are associated with this response from the server.

Implementation

@override
WebHeaderCollection get Headers {
  final headers = WebHeaderCollection();
  this.httpClientResponse.headers.forEach((header, values) {
    headers[header] = values.join(",");
  });
  return headers;
}