Abort method

  1. @override
void Abort()
override
Cancels request to an Internet resource.

Implementation

@override
void Abort() {
  // Aborts the connection; a response body that is still being read ends
  // with an HttpException.
  _request?.abort();
}