RootEngine class

Constructors

RootEngine({required NodesConfig config, required Function fireNodeFunction, required Function resolveInputControls})

Properties

config NodesConfig
final
fireNodeFunction Function
final
hashCode int
The hash code for this object.
no setterinherited
loops int
getter/setter pair
maxLoops int
getter/setter pair
resolveInputControls Function
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call({required Map<String, RuleNode> nodes, required Map<String, dynamic> context}) Future<Map<String, dynamic>>
callNode({required String nodeId, required Map<String, RuleNode> nodes, required Map<String, dynamic> context}) Future<Map<String, dynamic>>
checkLoops() → void
getResolvedInputControls(RuleNode node, Map<String, RuleNode> nodes, Map<String, dynamic> context) Future<Map<String, dynamic>>
getRootNode(Map<String, RuleNode> nodes) RuleNode?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetLoops([int? maxLoops]) → void
resolveOutputs({required String nodeId, required Map<String, RuleNode> nodes, required Map<String, dynamic> context, String? outputName}) Future<Map<String, dynamic>>
toString() String
A string representation of this object.
inherited

Operators

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