DateComponents constructor

const DateComponents({
  1. int? era,
  2. int? year,
  3. int? month,
  4. int? day,
  5. int? hour,
  6. int? minute,
  7. int? second,
  8. int? nanosecond,
  9. int? weekday,
  10. int? weekdayOrdinal,
  11. int? quarter,
  12. int? weekOfMonth,
  13. int? weekOfYear,
  14. int? yearForWeekOfYear,
})

Implementation

const DateComponents({
  this.era,
  this.year,
  this.month,
  this.day,
  this.hour,
  this.minute,
  this.second,
  this.nanosecond,
  this.weekday,
  this.weekdayOrdinal,
  this.quarter,
  this.weekOfMonth,
  this.weekOfYear,
  this.yearForWeekOfYear,
});