Event class

An event associated with a calendar

Constructors

Event(String? calendarId, {String? eventId, String? title, DateTime? start, DateTime? end, String? startTimeZone, String? endTimeZone, String? description, List<Attendee?>? attendees, RecurrenceRule? recurrenceRule, List<Reminder>? reminders, Availability? availability, bool? allDay = false})
Event.fromJson(Map<String, dynamic>? json)

Properties

allDay bool?
Indicates if this is an all-day event
getter/setter pair
attendees List<Attendee?>?
A list of attendees for this event
getter/setter pair
availability Availability?
Indicates if this event counts as busy time, tentative, unavaiable or is still free time
getter/setter pair
calendarId String?
Read-only. The identifier of the calendar that this event is associated with
getter/setter pair
description String?
The description for this event
getter/setter pair
end DateTime?
Indicates when the event ends
getter/setter pair
endTimeZone String?
Time zone of the event end date
Note: Not used in iOS, only single time zone is used. Please use startTimeZone
getter/setter pair
eventId String?
Read-only. The unique identifier for this event. This is auto-generated when a new event is created
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
location String?
The location of this event
getter/setter pair
recurrenceRule RecurrenceRule?
The recurrence rule for this event
getter/setter pair
reminders List<Reminder>?
A list of reminders (by minutes) for this event
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start DateTime?
Indicates when the event starts
getter/setter pair
startTimeZone String?
Time zone of the event start date
Note: In iOS this will set time zones for both start and end date
getter/setter pair
title String?
The title of this event
getter/setter pair
url Uri?
An URL for this event
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseStringToAvailability(String value) Availability?
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited