Event class Null safety

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, required Availability availability, bool? allDay = false})
Event.fromJson(Map<String, dynamic>? json)

Properties

allDay bool?
Indicates if this is an all-day event
read / write
attendees List<Attendee?>?
A list of attendees for this event
read / write
availability Availability
Indicates if this event counts as busy time, tentative, unavaiable or is still free time
read / write
calendarId String?
Read-only. The identifier of the calendar that this event is associated with
read / write
description String?
The description for this event
read / write
end TZDateTime?
Indicates when the event ends
read / write
eventId String?
Read-only. The unique identifier for this event. This is auto-generated when a new event is created
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
location String?
The location of this event
read / write
recurrenceRule RecurrenceRule?
The recurrence rule for this event
read / write
reminders List<Reminder>?
A list of reminders (by minutes) for this event
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
start TZDateTime?
Indicates when the event starts
read / write
title String?
The title of this event
read / write
url Uri?
An URL for this event
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
parseStringToAvailability(String? value) Availability
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