enableBluetooth static method

Future<void> enableBluetooth()

Implementation

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