The WebSocket.url read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
WebSocket.url
external String get url;