Pipeline.load constructor
Implementation
factory Pipeline.load(List<String> json) {
Pipeline pipeline = Pipeline();
for (String fnName in json) {
PipelineFunction? fn = Pipeline.registeredFunctions[fnName];
if (fn != null) {
pipeline.add([fn]);
} else {
throw Exception('Cannot load unregistered function: $fnName');
}
}
return pipeline;
}