onConnectionStateChanged property

void Function(TerminalConnectionState state)? onConnectionStateChanged
final

Called whenever the WebSocket connection state changes.

Implementation

final void Function(TerminalConnectionState state)? onConnectionStateChanged;