JsonRuleRepository class abstract
Represents a json based rule repository.
A json rule repository is a collection of rules stored in json format.
- Implemented types
- Implementers
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
-
dispose(
) → Future< void> -
Disposes the repository.
inherited
-
findAllRules(
) → Future< List< Rule> > -
Finds all rules in the repository.
override
-
findById(
String id) → Future< Rule?> -
Finds a rule by id.
override
-
findByName(
String name) → Future< List< Rule> > -
Finds rules by name.
override
-
loadJsonRuleById(
String id) → Future< String?> - Loads a json rule by id.
-
loadJsonRuleByName(
String name) → Stream< String> - Loads a json rule by name.
-
loadJsonRules(
) → Stream< String> - Loads all json rules.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited