enableBluetooth static method
Implementation
static Future<void> enableBluetooth() async {
try {
await _channel.invokeMethod('enableBluetooth');
} catch (e) {
throw Exception('Error al encender el Bluetooth: $e');
}
}
static Future<void> enableBluetooth() async {
try {
await _channel.invokeMethod('enableBluetooth');
} catch (e) {
throw Exception('Error al encender el Bluetooth: $e');
}
}