CalendarEvent class

Represents a calendar event with various properties.

This class is used to construct calendar URIs for LaunchType.calendar.

Annotations

Constructors

CalendarEvent({required String title, String? description, required DateTime startDate, DateTime? endDate, bool allDay = false, String? location, List<String>? attendees})
Creates a CalendarEvent instance.
const

Properties

allDay → bool
Whether the event is an all-day event.
final
attendees → List<String>?
A list of attendees for the event (e.g., email addresses).
final
description → String?
The description or notes for the event.
final
endDate → DateTime?
The end date and time of the event.
final
hashCode → int
The hash code for this object.
no setteroverride
location → String?
The location of the event.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDate → DateTime
The start date and time of the event.
final
title → String
The title of the calendar event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override