SleepData class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

SleepData({String? userId, String? userKey, required String id, required DateTime date, DateTime? bedtimeStart, DateTime? bedtimeStop, int? timezoneOffset, int? duration, int? total, int? awake, int? light, int? rem, int? deep, int? score, int? hrLowest, int? hrAverage, double? efficiency, int? latency, double? temperatureDelta, double? averageHrv, double? respiratoryRate, Source? source, SleepStreamResponse? sleepStream})
SleepData.fromJson(Map<String, dynamic> json)
factory

Properties

averageHrv double?
getter/setter pair
awake int?
getter/setter pair
bedtimeStart DateTime?
getter/setter pair
bedtimeStop DateTime?
getter/setter pair
date DateTime
getter/setter pair
deep int?
getter/setter pair
duration int?
getter/setter pair
efficiency double?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hrAverage int?
getter/setter pair
hrLowest int?
getter/setter pair
id String
getter/setter pair
latency int?
getter/setter pair
light int?
getter/setter pair
rem int?
getter/setter pair
respiratoryRate double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int?
getter/setter pair
sleepStream SleepStreamResponse?
getter/setter pair
source Source?
getter/setter pair
temperatureDelta double?
getter/setter pair
timezoneOffset int?
getter/setter pair
total int?
getter/setter pair
userId String?
getter/setter pair
userKey String?
getter/setter pair

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