EventSchema constructor

const EventSchema({
  1. required String name,
  2. required String startDate,
  3. String? endDate,
  4. String? description,
  5. String? image,
  6. String? url,
  7. EventLocation? location,
  8. EventOrganizer? organizer,
  9. List<EventPerformer>? performers,
  10. EventOffer? offer,
  11. EventStatus? eventStatus,
  12. EventAttendanceMode? eventAttendanceMode,
  13. String? previousStartDate,
})

Implementation

const EventSchema({
  required this.name,
  required this.startDate,
  this.endDate,
  this.description,
  this.image,
  this.url,
  this.location,
  this.organizer,
  this.performers,
  this.offer,
  this.eventStatus,
  this.eventAttendanceMode,
  this.previousStartDate,
});