withCallback method

StepInput withCallback(
  1. Function fn
)

Pairs a descriptive string milestone directly with its target execution callback logic.

Implementation

StepInput withCallback(Function fn) {
  return StepInput(description: this, callback: fn);
}