wsClient property
WebSocket
get
wsClient
The socket that maintains the connection to the MQTT broker. Get and set methods preserve type information.
Implementation
// ignore: avoid-casting-to-extension-type, casting fails at the JS layer
WebSocket get wsClient => (client as WebSocket);