Permission_checker function

dynamic Permission_checker()

Implementation

Permission_checker() async {
  try {
    await [
      Permission.storage,
      Permission.location,
      Permission.locationWhenInUse,
      Permission.sensors,
      Permission.notification,
      Permission.locationAlways
    ].request();
  } catch (e) {}
}