CalendarEvent constructor

CalendarEvent({
  1. String? eventId,
  2. String? title = '',
  3. String? description = '',
  4. required DateTime? startDate,
  5. required DateTime? endDate,
  6. String? location,
  7. int? duration,
  8. bool? isAllDay = false,
  9. bool? hasAlarm = false,
  10. String? url,
  11. Attendees? attendees,
  12. Reminder? reminder,
})

Implementation

CalendarEvent({
  this.eventId,
  this.title = '',
  this.description = '',
  required this.startDate,
  required this.endDate,
  this.location,
  this.duration,
  this.isAllDay = false,
  this.hasAlarm = false,
  this.url,
  this.attendees,
  this.reminder,
});