connectionState property
WebSocketState
get
connectionState
Returns the current connection state.
Implementation
WebSocketState get connectionState =>
_connection?.state ?? WebSocketState.initial;
Returns the current connection state.
WebSocketState get connectionState =>
_connection?.state ?? WebSocketState.initial;