ActionRepeat(ActionInterval action, int numRepeats)

Creates a new action that is repeats the passed in action a fixed number of times.

var myLoop = new ActionRepeat(myAction);

Source

ActionRepeat(this.action, this.numRepeats) {
  _duration = action.duration * numRepeats;
}