FormulaRegistry class
A catalogue of Formulas available on a node, keyed by formula id.
Operators register custom formulas here; the standard factory wires the built-ins (Docker, Dart).
Constructors
- FormulaRegistry()
- Creates an empty registry.
- FormulaRegistry.standard({CommandExecutor executor = const ProcessCommandExecutor()})
-
Creates a registry pre-populated with the built-in formulas.
factory
Properties
Methods
-
byId(
String id) → Formula? -
The formula with
id, ornull. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
register(
Formula formula) → void -
Registers (or replaces)
formula. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited