connectionState property
Gets the current connection state of the Mqtt Client. Will be removed, use connectionStatus
Implementation
@Deprecated('Use ConnectionStatus, not this')
MqttConnectionState? get connectionState => connectionHandler != null
    ? connectionHandler!.connectionStatus.state
    : MqttConnectionState.disconnected;