ContactEvent constructor

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

Creates a new ContactEvent with required month and day

Implementation

const ContactEvent({
  required this.month,
  required this.day,
  this.year,
  this.label = EventLabel.other,
  this.customLabel = '',
});