openLocationSettings method
Open location settings
Implementation
@override
Future<void> openLocationSettings() async {
try {
debugPrint('Opening location settings');
await methodChannel.invokeMethod('openLocationSettings');
debugPrint('Location settings opened successfully');
} on PlatformException catch (e) {
debugPrint('Error opening location settings: ${e.message}');
}
}