Event constructor

Event({
  1. required String title,
  2. String? description,
  3. String? location,
  4. required DateTime startDate,
  5. required DateTime endDate,
  6. String? timeZone,
  7. bool allDay = false,
  8. IOSParams iosParams = const IOSParams(),
  9. AndroidParams androidParams = const AndroidParams(),
  10. Recurrence? recurrence,
})

Implementation

Event({
  required this.title,
  this.description,
  this.location,
  required this.startDate,
  required this.endDate,
  this.timeZone,
  this.allDay = false,
  this.iosParams = const IOSParams(),
  this.androidParams = const AndroidParams(),
  this.recurrence,
});