openLocationSettings method

  1. @override
Future<bool> openLocationSettings()
override

Opens the device's location settings page.

Implementation

@override
Future<bool> openLocationSettings() async {
  final result =
      await methodChannel.invokeMethod<bool>('openLocationSettings');
  return result ?? false;
}