disconnect method

void disconnect()

Implementation

void disconnect() {
  mqttClient?.disconnect();
  log('Disconnected from the MQTT broker');
}