openLocationSettings method

  1. @override
Future<bool> openLocationSettings()

Opens the location settings page.

Returns true if the location settings page could be opened, otherwise false is returned.

Implementation

@override
Future<bool> openLocationSettings() async => _methodChannel
    .invokeMethod<bool>('openLocationSettings')
    .then((value) => value ?? false);