toReplay method

ProgramReplay toReplay({
  1. bool loop = false,
})

Converts this macro into a ProgramReplay.

Implementation

ProgramReplay toReplay({bool loop = false}) =>
    ProgramReplay.script(steps, loop: loop);