updateShortcutItems method

Future<void> updateShortcutItems({
  1. required List<ShortcutItem> shortcutList,
})

updateShortcutItems updates shortcut items. If the IDs of the shortcuts are not same, no changes will be reflected.

Implementation

Future<void> updateShortcutItems(
    {required List<ShortcutItem> shortcutList}) async {
  return FlutterShortcutsPlatform.instance.updateShortcutItems(shortcutList);
}