CalendarEvent class

Represents a calendar event.

Each instance holds various details about the event, such as its ID, creation time, last modification time, reminder status, subject, preview of the body, all-day status, organizer status, start time, end time, list of attendees, and the organizer.

Constructors

CalendarEvent({String? id, String? createdDateTime, String? lastModifiedDateTime, bool? isReminderOn, String? subject, String? bodyPreview, bool? isAllDay, bool? isOrganizer, String? startDateTime, String? endDateTime, List<Attendee>? attendees, Organizer? organizer})
Creates a new instance of CalendarEvent.
CalendarEvent.fromJson(Map<String, dynamic> json)
Creates a new instance of CalendarEvent from a JSON object.
factory

Properties

attendees List<Attendee>?
A list of Attendee objects representing the attendees of the event.
final
bodyPreview String?
A preview of the body of the event.
final
createdDateTime String?
The creation time of the event.
final
endDateTime String?
The end time of the event.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
The ID of the event.
final
isAllDay bool?
The all-day status of the event.
final
isOrganizer bool?
The organizer status of the event.
final
isReminderOn bool?
The reminder status of the event.
final
lastModifiedDateTime String?
The last modification time of the event.
final
organizer Organizer?
An Organizer object representing the organizer of the event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDateTime String?
The start time of the event.
final
subject String?
The subject of the event.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this CalendarEvent object to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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