disconnect property
disconnect print
Implementation
static Future<bool> get disconnect async {
if (Platform.isWindows) {
return await PrintBluetoothThermalWindows.disconnect();
}
try {
return await _channel.invokeMethod('disconnect');
//print("llego: $result");
} on PlatformException catch (e) {
print("Failed to disconnect: '${e.message}'.");
return false;
}
}