run method

void run()

Implementation

void run() {
  if (isAnimationCompleted) {
    reverse();
  } else if (isAnimationDismissed) {
    forward();
  }
}