SleepSummary class
Sleep summary: metrics and stages summary.
Constructors
-
SleepSummary({String? minutesAfterWakeUp, String? minutesAsleep, String? minutesAwake, String? minutesInSleepPeriod, String? minutesToFallAsleep, List<
StageSummary> ? stagesSummary}) - SleepSummary.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- minutesAfterWakeUp ↔ String?
-
Minutes after wake up calculated by restlessness algorithm.
getter/setter pair
- minutesAsleep ↔ String?
-
Total number of minutes asleep.
getter/setter pair
- minutesAwake ↔ String?
-
Total number of minutes awake.
getter/setter pair
- minutesInSleepPeriod ↔ String?
-
Delta between wake time and bedtime.
getter/setter pair
- minutesToFallAsleep ↔ String?
-
Minutes to fall asleep calculated by restlessness algorithm.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stagesSummary
↔ List<
StageSummary> ? -
List of summaries (total duration and segment count) per each sleep stage
type.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited