Event class

An event associated with a calendar

Constructors

Event(String? calendarId, {String? eventId, String? title, TZDateTime? start, TZDateTime? end, String? description, List<Attendee?>? attendees, RecurrenceRule? recurrenceRule, List<Reminder>? reminders, Availability availability = Availability.Busy, String? location, Uri? url, bool? allDay = false, EventStatus? status})
Note for development:
Event.fromJson(Map<String, dynamic>? json)
Get Event from 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 TZDateTime?
Indicates when the event ends
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 TZDateTime?
Indicates when the event starts
getter/setter pair
status EventStatus?
Indicates if this event is of confirmed, canceled, tentative or none status
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
parseStringToEventStatus(String? value) EventStatus?
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited
updateEndLocation(String? newEndLocation) bool
updateStartLocation(String? newStartLocation) bool

Operators

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