isAwake property

bool isAwake

Whether the body is awake or sleeping.

Implementation

bool get isAwake => (flags & awakeFlag) == awakeFlag;