subscribe method
Implementation
void subscribe(String topic) {
mqttClient?.subscribe(topic, MqttQos.atLeastOnce);
log('Subscribed to topic: $topic');
}
void subscribe(String topic) {
mqttClient?.subscribe(topic, MqttQos.atLeastOnce);
log('Subscribed to topic: $topic');
}