TrackedEntityInstance class

Inheritance
Annotations

Constructors

TrackedEntityInstance({String? id, String? name, String? created, String? lastUpdated, required String orgUnit, required bool dirty, required String trackedEntityType, String? trackedEntityInstance, bool? deleted, bool? synced, bool? syncFailed, TrackedEntityInstanceImportSummary? lastSyncSummary, String? lastSyncDate, bool? inactive, List<Enrollment>? enrollments, List<TrackedEntityAttributeValue>? attributes, bool? transfer, bool? saved, List<TrackedEntityInstanceRelationship>? relationships, bool? skipDateUpdate})
TrackedEntityInstance.fromJson(Map<String, dynamic> json)
factory

Properties

attributes List<TrackedEntityAttributeValue>?
getter/setter pair
code String?
finalinherited
created String?
getter/setter pairinherited
deleted bool?
getter/setter pair
dirty bool
getter/setter pairinherited
displayName String?
finalinherited
enrollments List<Enrollment>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
inactive bool?
getter/setter pair
lastSyncDate String?
getter/setter pair
lastSyncSummary TrackedEntityInstanceImportSummary?
getter/setter pair
lastUpdated String?
getter/setter pairinherited
name String?
getter/setter pairinherited
orgUnit String
getter/setter pair
relationships List<TrackedEntityInstanceRelationship>?
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
synced bool?
getter/setter pair
syncFailed bool?
getter/setter pair
trackedEntityInstance String?
getter/setter pair
trackedEntityType String
getter/setter pair
transfer bool?
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
transferOrgUnit(String orgUnit) → dynamic

Operators

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

Static Methods

toUpload(TrackedEntityInstance trackedEntityInstance, List<Event>? events) → dynamic
toUploadEnrollment(TrackedEntityInstance trackedEntityInstance, List<Event>? events) → dynamic
toUploadWithoutEnrollment(TrackedEntityInstance trackedEntityInstance, List<Event>? events) → dynamic