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