initRunTime method

void initRunTime()

Implementation

void initRunTime() {
  animationsTiming = getAnimationsWithTimings();

  maxEndTime =
      [for (var timing in animationsTiming) timing.item3].fold(0, max);

  if (runTime == 0) {
    runTime = maxEndTime;
  }
}