subscribeTo method

void subscribeTo(
  1. String channel, {
  2. MqttQos mqttQos = MqttQos.atLeastOnce,
})

Implementation

void subscribeTo(String channel, {MqttQos mqttQos = MqttQos.atLeastOnce}) {
  client!.subscribe(channel, mqttQos);
}