done property

An HttpClientResponse future that will complete once the response is available.

If an error occurs before the response is available, this future will complete with an error.

Implementation

@override
Future<HttpClientResponse> get done => _clientRequest.done.then((response) {
  _sendHttpBeacon(response);
  return response;
});