invoke static method
Invokes the action matching intent's runtime type.
Implementation
static Object? invoke(BuildContext context, Intent intent) {
final action = lookupByType(intent.runtimeType, context);
if (action == null) return null;
return const ActionDispatcher().invokeAction(action, intent);
}