isSocketOpen property
bool
get
isSocketOpen
Whether the socket is currently usable for sendMessage.
Implementation
bool get isSocketOpen => _ws != null && _ws!.readyState == WebSocket.open;
Whether the socket is currently usable for sendMessage.
bool get isSocketOpen => _ws != null && _ws!.readyState == WebSocket.open;