requestBluetoothPermissions static method

Future<void> requestBluetoothPermissions()

Implementation

static Future<void> requestBluetoothPermissions() async {
  await [
    Permission.bluetooth,
    Permission.bluetoothScan,
    Permission.bluetoothConnect,
    Permission.location,
    Permission.locationWhenInUse,
    Permission.bluetoothAdvertise
  ].request();
}