setVelocityUpdateFunc method
void
setVelocityUpdateFunc()
Set the callback used to update a body's velocity.
Implementation
void setVelocityUpdateFunc(void Function(Body body, Vector2 gravity, double damping, double dt) velocityFunc) => _body.setVelocityUpdateFunc(velocityFunc);