openSettings method

void openSettings({
  1. bool openApp = true,
})

Implementation

void openSettings({bool openApp = true}) {
  if (openApp) {
    Geolocator.openAppSettings();
  } else {
    Geolocator.openLocationSettings();
  }
}