CalendarEvent
A calendar event, as listed in a Calendar.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
CalendarEvent.fromEvent
- Event event
Creates a CalendarEvent from an event from the device calendar plugin.
CalendarEvent.fromJson
CalendarEvent
Properties
allDay
getter/setter pair
Whether this is an all-day event.
calendarId
getter/setter pair
The identifier of the calendar that this event is associated with.
description
getter/setter pair
The description for this event.
end
getter/setter pair
When the event ends (UTC).
eventId
getter/setter pair
The unique identifier for this event.
isRecurring
final
Whether this is a recurring event. True for recurring events, false for one-time events.
location
getter/setter pair
The location of this event.
start
getter/setter pair
When the event starts (UTC).
status
final
Status of the event, e.g. confirmed, tentative or canceled.
timeZone
final
Timezone identifier for the event (e.g., "America/New_York"). Null for all-day events (floating dates).
title
getter/setter pair
The title of this event.