socket property Null safety

WebSocket? socket
read / write

Implementation

WebSocket? socket;