SmartSceneWeek constructor
SmartSceneWeek({
- required List<
SmartSceneWeekTimeslot> timeslots, - required List<
String> recurrence,
Creates a SmartSceneWeek object.
Implementation
SmartSceneWeek({
required this.timeslots,
required this.recurrence,
}) : _originalTimeslots =
timeslots.map((timeslot) => timeslot.copyWith()).toList(),
_originalRecurrence = List<String>.from(recurrence);