finishAnimation method

void finishAnimation(
  1. Animation animation
)

Implementation

void finishAnimation(Animation animation) {
  animation.finish();
  animation.cleanUpFromScene(this);
  updateMobjects(0);
}