setFriction method

void setFriction(
  1. double friction
)

Set the friction of this shape.

Implementation

void setFriction(double friction) => _shape.setFriction(friction);