Skip to main content

Event class

This class creates an event model and returns an Event instance.

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>?

read / write

allDaybool?

read / write

attendeesString?

read / write

creatorUser?

read / write

descriptionString?

read / write

endDateString?

read / write

endTimeString?

read / write

hashCodeint

The hash code for this object.
read-onlyinherited

idString?

read / write

isPublicbool?

read / write

isRegisterablebool?

read / write

isRegisteredbool?

read / write

latitudedouble?

read / write

locationString?

read / write

longitudedouble?

read / write

organizationOrgInfo?

read / write

recurrenceString?

read / write

recurringbool?

read / write

registrantsList<User>?

read / write

runtimeTypeType

A representation of the runtime type of the object.
read-onlyinherited

startDateString?

read / write

startTimeString?

read / write

titleString?

read / write

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited