close method

Future<void> close()

Permanently shuts down the client.

It's not normally necessary to explicitly shut down the client.

Implementation

Future<void> close() async {
  await _client.close();
  _connectionManager.dispose();
}