Frequency constructor Null safety

Frequency(
  1. String pName,
  2. bool pIsOnce,
  3. bool pIsDynamic,
  4. int pTimesPerDay,
  5. int pTimesPerWeek,
  6. int pTimesPerMonth,
  7. int pTimesPerYear,
  8. List<String> pHoursAtDay,
  9. List<String> pDaysAtWeek,
  10. List<String> pDaysAtMonth,
  11. List<String> pDaysAtYear
)

Implementation

Frequency(
    String pName,
    bool pIsOnce,
    bool pIsDynamic,
    int pTimesPerDay,
    int pTimesPerWeek,
    int pTimesPerMonth,
    int pTimesPerYear,
    List<String> pHoursAtDay,
    List<String> pDaysAtWeek,
    List<String> pDaysAtMonth,
    List<String> pDaysAtYear) {
  this.name = pName;
  this.isOnce = pIsOnce;
  this.isDynamic = pIsDynamic;
  this.timesPerDay = pTimesPerDay;
  this.timesPerWeek = pTimesPerWeek;
  this.timesPerMonth = pTimesPerMonth;
  this.timesPerYear = pTimesPerYear;
  this.hoursAtDay = pHoursAtDay;
  this.daysAtWeek = pDaysAtWeek;
  this.daysAtMonth = pDaysAtMonth;
  this.daysAtYear = pDaysAtYear;
}