RulesEngine class

Rules engine implementation using pure Dart

Properties

hashCode → int
The hash code for this object.
no setterinherited
isActive → bool
Whether this engine actually executes rules (always true now)
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

executeHttpRules(HttpRulesContext context) → Future<RulesResult>
Executes rules for HTTP events
executeRules(Map<String, dynamic> context) → Future<RulesResult>
Executes rules with raw context (for custom events)
executeUIRules(UIRulesContext context) → Future<RulesResult>
Executes rules for UI events
getSupportedNodeTypes() → Future<List<String>>
Gets list of supported node types
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
validateRules(Map<String, dynamic> nodes) → Future<bool>
Validates if the given rule nodes are well-formed

Operators

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

Static Methods

create() → Future<RulesEngine>
Creates and initializes the rules engine