Skip to main content

Event class

<p>This class creates an event model and returns an Event instance.</p>

Constructors

Event ({String? id, String? title, String? description, String? attendees, String? location, double? latitude, double? longitude, bool? recurring, bool? allDay, String? startDate, String? endDate, String? startTime, String? endTime, String? recurrence, bool? isPublic, bool? isRegistered, bool? isRegisterable, User? creator, OrgInfo? organization, List<User>? admins, List<User>? registrants})

Event.fromJson (Map<String, dynamic> json)

factory

Properties

adminsList<User>?

<span class="feature">read / write</span>

allDaybool?

<span class="feature">read / write</span>

attendeesString?

<span class="feature">read / write</span>

creatorUser?

<span class="feature">read / write</span>

descriptionString?

<span class="feature">read / write</span>

endDateString?

<span class="feature">read / write</span>

endTimeString?

<span class="feature">read / write</span>

hashCodeint

The hash code for this object.
<span class="feature">read-only</span><span class="feature">inherited</span>

idString?

<span class="feature">read / write</span>

isPublicbool?

<span class="feature">read / write</span>

isRegisterablebool?

<span class="feature">read / write</span>

isRegisteredbool?

<span class="feature">read / write</span>

latitudedouble?

<span class="feature">read / write</span>

locationString?

<span class="feature">read / write</span>

longitudedouble?

<span class="feature">read / write</span>

organizationOrgInfo?

<span class="feature">read / write</span>

recurrenceString?

<span class="feature">read / write</span>

recurringbool?

<span class="feature">read / write</span>

registrantsList<User>?

<span class="feature">read / write</span>

runtimeTypeType

A representation of the runtime type of the object.
<span class="feature">read-only</span><span class="feature">inherited</span>

startDateString?

<span class="feature">read / write</span>

startTimeString?

<span class="feature">read / write</span>

titleString?

<span class="feature">read / write</span>

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
<span class="feature">inherited</span>

toString() String

A string representation of this object.
<span class="feature">inherited</span>

Operators

operator ==(Object other) bool

The equality operator.
<span class="feature">inherited</span>