Enrollment class
- Inheritance
-
- Object
- BaseEntity
- IdentifiableEntity
- Enrollment
- Annotations
-
- @AnnotationReflectable
- @Entity(tableName: 'enrollment', apiResourceName: 'enrollments')
Constructors
-
Enrollment({String? id, String? name, String? created, String? lastUpdated, String? enrollment, String? incidentDate, String? enrollmentDate, required String trackedEntityType, required String orgUnit, required String program, required bool dirty, String? status, bool? synced, bool? syncFailed, EnrollmentImportSummary? lastSyncSummary, Geometry? geometry, String? lastSyncDate, List<
Event> ? events, dynamic trackedEntityInstance}) -
Enrollment.fromJson(Map<
String, dynamic> json) -
factory
Properties
- code → String?
-
finalinherited
- created ↔ String?
-
getter/setter pairinherited
- dirty ↔ bool
-
getter/setter pairinherited
- displayName → String?
-
finalinherited
- enrollment ↔ String?
-
getter/setter pair
- enrollmentDate ↔ String?
-
getter/setter pair
-
events
↔ List<
Event> ? -
getter/setter pair
- geometry ↔ Geometry?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pairinherited
- incidentDate ↔ String?
-
getter/setter pair
- lastSyncDate ↔ String?
-
getter/setter pair
- lastSyncSummary ↔ EnrollmentImportSummary?
-
getter/setter pair
- lastUpdated ↔ String?
-
getter/setter pairinherited
- name ↔ String?
-
getter/setter pairinherited
- orgUnit ↔ String
-
getter/setter pair
- program ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shortName → String?
-
finalinherited
- skipDateUpdate ↔ bool?
-
getter/setter pairinherited
- status ↔ String?
-
getter/setter pair
- synced ↔ bool?
-
getter/setter pair
- syncFailed ↔ bool?
-
getter/setter pair
- trackedEntityInstance ↔ dynamic
-
getter/setter pair
- trackedEntityType ↔ 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(
Enrollment enrollment, List< Event> ? events) → dynamic