MqttServerConnection.fromConnect constructor Null safety

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

Initializes a new instance of the MqttConnection class.

Implementation

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