close method

  1. @override
void close()
override

Closes the client.

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

Implementation

@override
void close() {
  if (_inner != null) {
    _inner!.close(force: true);
    _inner = null;
  }
}