connectionState property
Current connection state.
Snapshot value — for live updates subscribe to stateChanges instead. Useful for one-shot checks (e.g. "should I disable the composer right now?").
Implementation
@override
ChatConnectionState get connectionState => _connectionState;