getAction method
Returns the action with the given name.
Implementation
Action getAction(String name, dynamic arguments) {
if (!_actions.containsKey(name)) {
throw ArgumentError.value(
name,
'name',
'An action with this name is not registered.',
);
}
final registration = _actions[name]!;
return registration.resolve(arguments);
}