SleepState class

Sleep state class. Five states: light sleep, REM sleep, deep sleep, awake, and nap.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

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