isSleeping property

bool get isSleeping

Returns true if the body is sleeping.

Implementation

bool get isSleeping => _body.isSleeping;