SleepState class
Sleep state class. Five states: light sleep, REM sleep, deep sleep, awake, and nap.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- SLEEP_AWAKE → const SleepState
- Awake. Constant Value: 4
- SLEEP_DEEP → const SleepState
- Deep sleep. Constant Value: 3
- SLEEP_DREAM → const SleepState
- REM sleep. Constant Value: 2
- SLEEP_LIGHT → const SleepState
- Light sleep. Constant Value: 1