reloadSnippet method

  1. @override
Future<bool> reloadSnippet(
  1. String id
)
override

Asks the system to redraw a liveSnippet intent's card.

Returns whether the platform did anything. False on Android and below iOS 26, and false when id names no liveSnippet intent — an app data change that nothing is showing costs nothing.

Implementation

@override
Future<bool> reloadSnippet(String id) async {
  snippetReloads.add(id);
  return true;
}