openSoundSettings static method

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

Future async method call to open sound settings.

Implementation

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