openAppSettings static method

Future<void> openAppSettings()

Open app settings for app-specific settings

Implementation

static Future<void> openAppSettings() async {
  try {
    await Geolocator.openAppSettings();
  } catch (e) {
    print('Error opening app settings: $e');
  }
}