Solar constructor

Solar({
  1. required int solarYear,
  2. required int solarMonth,
  3. required int solarDay,
})

Implementation

Solar({required int solarYear, required int solarMonth, required int solarDay}) {
  this.solarYear = solarYear;
  this.solarMonth = solarMonth;
  this.solarDay = solarDay;
}