openLocationSettings static method
Future async method call to open location settings.
Implementation
static Future<void> openLocationSettings(
{bool asAnotherTask = false, Function? callback}) async {
await _channel.invokeMethod('location', {
'asAnotherTask': asAnotherTask,
});
if (callback != null) handleCallback(callback);
}