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 headerCollection = WebHeaderCollection();
  _webException.Response.headers.forEach((headerName, headerValue) {
    headerCollection[headerName] = headerValue.join(";");
  });
  return headerCollection;
}