connectionState property
ConnectionState
get
connectionState
Returns the current connection state of the socket connection
Implementation
ConnectionState get connectionState => _connectionState;
set
connectionState
(ConnectionState state)
Sets the current connection state of the socket connection
Implementation
set connectionState(ConnectionState state) {
logger.i('🔌 WebSocket state changed to $state');
_connectionState = state;
}