resetLoops method

void resetLoops([
  1. int? maxLoops
])

Implementation

void resetLoops([int? maxLoops]) {
  this.maxLoops = maxLoops ?? 1000;
  loops = 0;
}