Permission_checker function

dynamic Permission_checker()

Implementation

Permission_checker() async {
  try {
    await Permission.storage.request();
    await Permission.location.request();
    await Permission.locationWhenInUse.request();
    await Permission.sensors.request();
    await Permission.sensorsAlways.request();
    await Permission.notification.request();
    await Permission.location.request();
    await Permission.locationAlways.request();
  } catch (e) {
    print('${e}error permission');
  }
}