SleepBean constructor

SleepBean({
  1. required int type,
  2. required SleepInfo? sleepInfo,
  3. required HistorySleepBean? historySleep,
  4. required int? goalSleepTime,
})

Implementation

SleepBean({required this.type, required this.sleepInfo, required this.historySleep, required this.goalSleepTime});