disconnect method

Future<void> disconnect()

Implementation

Future<void> disconnect() async {
  bool success = await PrintBluetoothThermal.disconnect;
  if (success == true) {
    connected = false;
    selectedBluetoothInfo = null;
    removeFromLocalStorage();
  }
}