stopMoveAlongThePath method

void stopMoveAlongThePath()

Implementation

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