openLocationSettings property

Future<bool> openLocationSettings

Request to open Locations Settings from device.

For iOS, this will does nothing because of private method.

Implementation

Future<bool> get openLocationSettings async {
  final result = await _methodChannel.invokeMethod('openLocationSettings');

  if (result is bool) {
    return result;
  }

  return result == 1;
}