state property

HubConnectionState? get state

Indicates the state of the {@link HubConnection} to the server.

Implementation

HubConnectionState? get state => _connectionState;