enableBluetooth method

  1. @override
Future<void> enableBluetooth()
override

Enable Bluetooth

Implementation

@override
Future<void> enableBluetooth() async {
  try {
    await _methodChannel.invokeMethod('enableBluetooth');
  } catch (e) {
    throw BluetoothException('Failed to enable Bluetooth: $e');
  }
}