openBluetoothSettings property

Future<bool> openBluetoothSettings

Request to open Bluetooth Settings from device.

For iOS, this will does nothing because of private method.

Implementation

Future<bool> get openBluetoothSettings async {
  final result = await _methodChannel.invokeMethod('openBluetoothSettings');

  if (result is bool) {
    return result;
  }

  return result == 1;
}