updateShortcutItem static method
updateShortcutItem updates a single shortcut item based on android id or ios action. If the android ID or ios action of the shortcut is not same, no changes will be reflected. Officially Supported Platforms/Implementations:
- Android
- iOS
Implementation
static Future<void> updateShortcutItem(
{required ShortcutItem shortcut}) async {
return FlutterShortcutPlatform.instance.updateShortcutItem(shortcut);
}