RuleRepository class abstract

Represents a repository of rules.

A rule repository is a collection of rules that can be queried by name or id.

Implementers

Constructors

RuleRepository.new()

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.
findAllRules() Future<List<Rule>>
Finds all rules in the repository.
findById(String id) Future<Rule?>
Finds a rule by id.
findByName(String name) Future<List<Rule>>
Finds rules by name.
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