setLoop method

dynamic setLoop(
  1. dynamic mode,
  2. dynamic repetitions
)

Implementation

setLoop(mode, repetitions) {
  loop = mode;
  this.repetitions = repetitions;

  return this;
}