subscribe method
Implementation
void subscribe(String topic) {
debugPrint('Subscribing to the hello topic');
mqttClient?.subscribe(topic, MqttQos.exactlyOnce);
}
void subscribe(String topic) {
debugPrint('Subscribing to the hello topic');
mqttClient?.subscribe(topic, MqttQos.exactlyOnce);
}