allowSleep property

bool allowSleep
getter/setter pair

Makes bodies go to sleep when they've been inactive.

Implementation

late bool allowSleep;