Event constructor

Event({
  1. int? year,
  2. required int month,
  3. required int day,
  4. EventLabel label = EventLabel.birthday,
  5. String customLabel = '',
})

Implementation

Event({
  this.year,
  required this.month,
  required this.day,
  this.label = EventLabel.birthday,
  this.customLabel = '',
});