Date constructor

const Date({
  1. required int day,
  2. required int month,
  3. required int year,
})

Represents a date according to the Gregorian calendar

Implementation

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