SleepInfo constructor

SleepInfo({
  1. required int? totalTime,
  2. required int? restfulTime,
  3. required int? lightTime,
  4. required int? soberTime,
  5. required int? remTime,
  6. required List<DetailBean> details,
})

Implementation

SleepInfo({
  required this.totalTime,
  required this.restfulTime,
  required this.lightTime,
  required this.soberTime,
  required this.remTime,
  required this.details,
});