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