dispose method

Future<void> dispose()

Dispose the WebSocket client

Implementation

Future<void> dispose() async {
  await disconnect();
  await _eventController.close();
}