reset method

void reset()

Resets the animation to its default dormant/dismissed state.

Implementation

void reset() {
  status = AnimationStatus.dismissed;
  _startProgress = 0.0;
  _transitionStartTimeMs = 0;
  _stopwatch?.stop();
  _stopwatch = null;
  triggerPoint = null;
  onUpdate = null;
  _lastFrameTimeMs = 0;
}