deps<S> method

StepBuilderN<S> deps<S>(
  1. Iterable<Step<S>> dependencies
)

Add dependency on an arbitrary number of steps dependencies and return a new builder from which to continue (building the final step).

This methods returns a new builder to be used as an intermediate result in the expression defining a step. See Step.define for how to define steps.

Implementation

StepBuilderN<S> deps<S>(Iterable<Step<S>> dependencies) {
  final dependencies_ = List<Step<S>>.from(dependencies);
  return StepBuilderN._(_name, dependencies_);
}