openLocationSettings method

Future<bool> openLocationSettings()

Open location settings

Implementation

Future<bool> openLocationSettings() async {
  try {
    return await geo.Geolocator.openLocationSettings();
  } catch (e) {
    _errorController.add('Failed to open location settings: $e');
    return false;
  }
}