isConnected property
bool
get
isConnected
Whether the client is connected and authenticated.
Implementation
bool get isConnected => _principal != null && (_connection?.isOpen ?? false);
Whether the client is connected and authenticated.
bool get isConnected => _principal != null && (_connection?.isOpen ?? false);