connect method

Future<void> connect(
  1. MqttClientWrapper wrapper
)

Implementation

Future<void> connect(MqttClientWrapper wrapper) async {
  if (mqttClient == null) {
    await _initializeMqttClient(wrapper);
  }

  await mqttClient!.connect();
}