close method

void close()

Closes the client and cleans up any resources associated with it.

It's important to close each client when it's done being used; failing to do so can cause the Dart process to hang.

Implementation

void close() {
  _client.close();
}