isConnected property

bool get isConnected

Whether the client is currently connected to the server.

Implementation

bool get isConnected => _state == RealtimeConnectionState.connected;