protocol property Null safety
The subprotocol selected by the server.
For a client socket, this is initially
null. After the WebSocket
connection is established the value is set to the subprotocol selected by
the server. If no subprotocol is negotiated the value will remain
String? get protocol => _webSocket.protocol;