stopMoveAlongThePath method

void stopMoveAlongThePath()

Implementation

void stopMoveAlongThePath() {
  _currentPath.clear();
  _barriers.clear();
  _currentIndex = 0;
  _removeLinePathComponent();
  idle();
  _onFinish?.call();
  _onFinish = null;
}