isSleeping property

bool get isSleeping

Implementation

bool get isSleeping {
  final handle = _handle;
  return handle != null && _sim!.isBodySleeping(handle);
}