setType method

void setType(
  1. BodyType type
)

Set the type of the body.

Implementation

void setType(BodyType type) => _body.setType(type);