requestPermission method

Future<bool> requestPermission()

Implementation

Future<bool> requestPermission() async {
  if (!Platform.isAndroid) {
    return true;
  }
  return Permission.bluetoothConnect.request().isGranted;
}