Sleep constructor

Sleep({
  1. String? createTime,
  2. SessionTimeInterval? interval,
  3. SleepMetadata? metadata,
  4. List<OutOfBedSegment>? outOfBedSegments,
  5. List<SleepStage>? shortAwakenings,
  6. List<SleepStage>? stages,
  7. SleepSummary? summary,
  8. String? type,
  9. String? updateTime,
})

Implementation

Sleep({
  this.createTime,
  this.interval,
  this.metadata,
  this.outOfBedSegments,
  this.shortAwakenings,
  this.stages,
  this.summary,
  this.type,
  this.updateTime,
});