stopAcceleration method

void stopAcceleration()

Implementation

void stopAcceleration() {
  _onStop?.call();
  _direction = null;
  _moveAngle = null;
  _accelerationFunction = null;
  _type = _TypeAcceleration.none;
  _onStop = null;
  idle();
}