FormulaRegistry.standard constructor
FormulaRegistry.standard({
- CommandExecutor executor = const ProcessCommandExecutor(),
Creates a registry pre-populated with the built-in formulas.
Implementation
factory FormulaRegistry.standard({
CommandExecutor executor = const ProcessCommandExecutor(),
}) {
final registry = FormulaRegistry();
registry
..register(DockerFormula(executor: executor))
..register(DartFormula(executor: executor));
return registry;
}