connectFlags property
Connect flags
The Connect Flags byte contains several parameters specifying the behavior of the MQTT connection. It also indicates the presence or absence of fields in the payload.
Implementation
MqttConnectFlags connectFlags = MqttConnectFlags();