enableBluetoothServices method

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

Attempts to open the device's Bluetooth settings screen for the user to enable Bluetooth.

Returns a Future that completes when the settings screen is opened. Check the result using checkBluetoothEnabled after the user returns to the app.

Implementation

@override
Future<void> enableBluetoothServices() async {
  await methodChannel.invokeMethod('enableBluetoothServices');
}