MqttBrowserConnection.fromConnect constructor

MqttBrowserConnection.fromConnect(
  1. dynamic server,
  2. dynamic port,
  3. dynamic clientEventBus
)

Initializes a new instance of the MqttBrowserConnection class.

Implementation

MqttBrowserConnection.fromConnect(server, port, clientEventBus)
    : super(clientEventBus) {
  connect(server, port);
}