registerAction static method
Registers an action a workflow step can call by name.
Generated backend functions register themselves here, so a workflow can call the same code an application does.
Implementation
static void registerAction(
String name,
Future<Object?> Function(Map<String, Object?> arguments) handler,
) {
_actions[name] = handler;
}