record method

void record(
  1. Step step
)

Implementation

void record(Step step) {
  history.add(step);
}