Event constructor

Event(
  1. String? calendarId, {
  2. String? eventId,
  3. String? title,
  4. TZDateTime? start,
  5. TZDateTime? end,
  6. String? description,
  7. List<Attendee?>? attendees,
  8. RecurrenceRule? recurrenceRule,
  9. List<Reminder>? reminders,
  10. Availability availability = Availability.Busy,
  11. String? location,
  12. Uri? url,
  13. bool? allDay = false,
  14. EventStatus? status,
})

Note for development:

JSON field names are coded in dart, swift and kotlin to facilitate data exchange. Make sure all locations are updated if changes needed to be made. Swift: ios/Classes/SwiftDeviceCalendarPlugin.swift Kotlin: android/src/main/kotlin/com/builttoroam/devicecalendar/models/Event.kt android/src/main/kotlin/com/builttoroam/devicecalendar/CalendarDelegate.kt android/src/main/kotlin/com/builttoroam/devicecalendar/DeviceCalendarPlugin.kt

Implementation

Event(this.calendarId,
    {this.eventId,
    this.title,
    this.start,
    this.end,
    this.description,
    this.attendees,
    this.recurrenceRule,
    this.reminders,
    this.availability = Availability.Busy,
    this.location,
    this.url,
    this.allDay = false,
    this.status});