Date constructor

const Date({
  1. Input<int>? day,
  2. Input<int>? month,
  3. Input<int>? year,
})

Creates a new Date. day Day of month. Must be from 1 to 31 and valid for the year and month. month Month of date. Must be from 1 to 12. year Year of date. Must be from 1 to 9999.

Implementation

const Date({
  this.day,
  this.month,
  this.year,
});