MqttServerClient constructor
MqttServerClient(})
Initializes a new instance of the MqttServerClient class using the default Mqtt Port. The server hostname to connect to The client identifier to use to connect with
Implementation
MqttServerClient(
super.server,
super.clientIdentifier, {
this.maxConnectionAttempts = MqttConstants.defaultMaxConnectionAttempts,
});