ActionEngine class

Parses JSON action (onClick) into DynamicAction and runs it. For ActionType.actionGroup, runs sub-actions sequentially or in parallel.

Constructors

ActionEngine()

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 map is 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 with handler.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited