SmartSceneWeekTimeslot constructor

SmartSceneWeekTimeslot({
  1. required SmartSceneWeekStartTime startTime,
  2. required Relative target,
})

Creates a SmartSceneWeekTimeslot object.

Implementation

SmartSceneWeekTimeslot({
  required this.startTime,
  required this.target,
})  : _originalStartTime = startTime.copyWith(),
      _originalTarget = target.copyWith();