RegimenItem constructor

RegimenItem({
  1. int? dayNumber,
  2. int? date,
  3. Weekday? weekday,
  4. CodeStub? dayPeriod,
  5. int? timeOfDay,
  6. AdministrationQuantity? administratedQuantity,
})

Implementation

RegimenItem({
		int? dayNumber,
		int? date,
		Weekday? weekday,
		CodeStub? dayPeriod,
		int? timeOfDay,
		AdministrationQuantity? administratedQuantity
	}) : date = date ?? null,
	weekday = weekday ?? null,
	dayPeriod = dayPeriod ?? null,
	timeOfDay = timeOfDay ?? null,
	administratedQuantity = administratedQuantity ?? null,
	_dayNumber = dayNumber ?? null;