Event class

Inheritance
Annotations

Constructors

Event({String? id, String? name, String? created, String? lastUpdated, String? event, required String orgUnit, required String status, required dynamic dirty, String? eventDate, String? dueDate, bool? deleted, bool? synced, bool? syncFailed, EventImportSummary? lastSyncSummary, String? lastSyncDate, String? storedBy, String? coordinate, String? trackedEntityInstance, String? attributeCategoryOptions, String? attributeOptionCombo, String? notes, bool? saved, String? eventType, required dynamic programStage, dynamic enrollment, List<EventDataValue>? dataValues})
Event.fromJson(Map<String, dynamic> json)
factory

Properties

attributeCategoryOptions ↔ String?
getter/setter pair
attributeOptionCombo ↔ String?
getter/setter pair
code → String?
finalinherited
coordinate ↔ String?
getter/setter pair
created ↔ String?
getter/setter pairinherited
dataValues ↔ List<EventDataValue>?
getter/setter pair
deleted ↔ bool?
getter/setter pair
dirty ↔ bool
getter/setter pairinherited
displayName → String?
finalinherited
dueDate ↔ String?
getter/setter pair
enrollment ↔ dynamic
getter/setter pair
event ↔ String?
getter/setter pair
eventDate ↔ String?
getter/setter pair
eventType ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
getter/setter pairinherited
lastSyncDate ↔ String?
getter/setter pair
lastSyncSummary ↔ EventImportSummary?
getter/setter pair
lastUpdated ↔ String?
getter/setter pairinherited
name ↔ String?
getter/setter pairinherited
notes ↔ String?
getter/setter pair
orgUnit ↔ String
getter/setter pair
programStage ↔ dynamic
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saved ↔ bool?
A value that detects whether the user has marked the entity has saved or not. This is useful for when you want to sync specific data to remote server and leave others.
getter/setter pair
shortName → String?
finalinherited
skipDateUpdate ↔ bool?
getter/setter pairinherited
status ↔ String
getter/setter pair
storedBy ↔ String?
getter/setter pair
synced ↔ bool?
getter/setter pair
syncFailed ↔ bool?
getter/setter pair
trackedEntityInstance ↔ String?
getter/setter pair
translation → Translation?
no setterinherited
translations ↔ dynamic
getter/setter pairinherited

Methods

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

Operators

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

Static Methods

toUpload(Event event) → dynamic