close method

void close()

Terminates all active connections. If a client remains unclosed, the Dart process may not terminate.

Implementation

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