state method
Get the current state of the websocket
Implementation
@override
WebSocketState state() {
return WebSocketState.values[_socket?.readyState ?? 3];
}
Get the current state of the websocket
@override
WebSocketState state() {
return WebSocketState.values[_socket?.readyState ?? 3];
}