SleepData constructor

SleepData({
  1. String? userId,
  2. String? userKey,
  3. required String id,
  4. required DateTime date,
  5. DateTime? bedtimeStart,
  6. DateTime? bedtimeStop,
  7. int? timezoneOffset,
  8. int? duration,
  9. int? total,
  10. int? awake,
  11. int? light,
  12. int? rem,
  13. int? deep,
  14. int? score,
  15. int? hrLowest,
  16. int? hrAverage,
  17. double? efficiency,
  18. int? latency,
  19. double? temperatureDelta,
  20. double? averageHrv,
  21. double? respiratoryRate,
  22. Source? source,
  23. 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,
});