ActionEngine class
Parses JSON action (onClick) into DynamicAction and runs it. For ActionType.actionGroup, runs sub-actions sequentially or in parallel.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseAction(
Map< String, dynamic> ? map) → DynamicAction -
Parse a JSON map (e.g. from data.onClick) into a DynamicAction.
Throws if
mapis null or missing "type". -
run(
DynamicAction action, ActionHandler handler) → Future< void> - Run a single action or action_group. For action_group, runs sub-actions sequentially or in parallel; handler receives only single actions.
-
runFromMap(
Map< String, dynamic> ? map, ActionHandler handler) → Future<void> -
Parse
map(e.g. data.onClick) and run withhandler. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited