putToSleep method

void putToSleep()

Implementation

void putToSleep() {
  final handle = _handle;
  if (handle != null) _sim!.sleepBody(handle);
}