innerWebSocket property Null safety

WebSocket? innerWebSocket

The underlying WebSocket, if this channel has connected.

If the future returned from WebSocket.connect has not yet completed, or completed as an error, this will be null.

Implementation

WebSocket? get innerWebSocket => _webSocket;