openSecuritySettings static method

Future<void> openSecuritySettings({
  1. bool asAnotherTask = false,
  2. Function? callback,
})

Future async method call to open security settings.

Implementation

static Future<void> openSecuritySettings(
    {bool asAnotherTask = false, Function? callback}) async {
  await _channel.invokeMethod('security', {
    'asAnotherTask': asAnotherTask,
  });
  if (callback != null) handleCallback(callback);
}