createAppShortcut method

Future<void> createAppShortcut(
  1. String id
)

Display options to create shortcuts for an app. On Mac, only packaged app shortcuts can be created. id This should be the id from an app item of management.ExtensionInfo.

Implementation

Future<void> createAppShortcut(String id) async {
  await promiseToFuture<void>($js.chrome.management.createAppShortcut(id));
}