disconnect method

void disconnect()

Closes the current terminal WebSocket.

Implementation

void disconnect() => _disconnect?.call();