isConnected property

bool get isConnected

Returns whether the websocket is currently connected.

Implementation

bool get isConnected => _webSocketService.isConnected;