MqttBrowserClient.withPort constructor Null safety

  1. String server,
  2. String clientIdentifier,
  3. int port,
  4. {int maxConnectionAttempts = 3}

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


  String server,
  String clientIdentifier,
  int port, {
  this.maxConnectionAttempts = 3,
}) : super.withPort(server, clientIdentifier, port);