SleepData constructor
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,
Implementation
SleepData({
this.userId,
this.userKey,
required this.id,
required this.date,
this.bedtimeStart,
this.bedtimeStop,
this.timezoneOffset,
this.duration,
this.total,
this.awake,
this.light,
this.rem,
this.deep,
this.score,
this.hrLowest,
this.hrAverage,
this.efficiency,
this.latency,
this.temperatureDelta,
this.averageHrv,
this.respiratoryRate,
this.source,
this.sleepStream,
});