addStep<StepInput, StepOutput> method
Adds a step to the chain
Validates type compatibility with previous step
Implementation
void addStep<StepInput, StepOutput>(ChainStep<StepInput, StepOutput> step) {
_validateStepTypes(step);
_steps.add(step);
}