close method

  1. @override
void close()
override

Closes the client and abort all active requests.

Implementation

@override
void close() {
  for (var xhr in _xhrs) {
    xhr.abort();
  }
}