MqttServerConnection.fromConnect constructor

MqttServerConnection.fromConnect(
  1. String server,
  2. int port,
  3. dynamic clientEventBus
)

Initializes a new instance of the MqttConnection class.

Implementation

MqttServerConnection.fromConnect(String server, int port, var clientEventBus)
    : super(clientEventBus) {
  connect(server, port);
}