startAnimation method

void startAnimation(
  1. ModelAnimation? animation, {
  2. bool resetClock = true,
})

Implementation

void startAnimation(
  ModelAnimation? animation, {
  bool resetClock = true,
}) {
  animationRef = animation;
  if (resetClock) {
    reset();
  }
}