enableBluetooth method

Future<bool> enableBluetooth()

Request to enable Bluetooth

Implementation

Future<bool> enableBluetooth() async {
  try {
    return await _channel.invokeMethod('enableBluetooth');
  } catch (e) {
    throw BluetoothException('Failed to enable Bluetooth: $e');
  }
}