close method

  1. @override
void close({
  1. bool force = true,
})
override

Closes the client.

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

Implementation

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