getConnectedWebSocket method Null safety

Future<WebSocketChannel> getConnectedWebSocket()

Returns a new WebSocketChannel, ready to be listened on.

This should be overriden by child classes, NOT connect.

Implementation

Future<WebSocketChannel> getConnectedWebSocket();