updateAppShortcutParameters method
Refreshes the parameters of the app's App Shortcuts (#149).
Calls AppShortcuts.updateAppShortcutParameters() through the updater
the generated AppShortcuts.registerParameterUpdater() registers.
iOS-only; a no-op elsewhere.
Implementation
@override
Future<void> updateAppShortcutParameters() async {
try {
await methodChannel.invokeMethod('updateAppShortcutParameters');
} on MissingPluginException {
// No-op on platforms that don't implement this. App Shortcuts are
// iOS-specific.
}
}