refreshShortcutPhrases method
Re-reads the value lists behind parameterized phrases.
A phrase like "Open $project in $app" is matched against values Siri
already holds — an enum's cases, or what the entity query's suggested()
answered last time. This asks the system to ask again, so an app whose
data changed calls it and the vocabulary follows.
Returns whether the platform did anything. False on Android, where phrases have no counterpart, and false on iOS when no intent declares a phrase — no provider, no vocabulary to refresh.
Implementation
@override
Future<bool> refreshShortcutPhrases() async {
phraseRefreshes++;
return true;
}