Program class
- Inheritance
-
- Object
- BaseEntity
- IdentifiableEntity
- Program
- Annotations
-
- @AnnotationReflectable
- @Entity(tableName: 'program', apiResourceName: 'programs')
Constructors
-
Program({required String id, String? created, String? lastUpdated, required String name, required String shortName, String? code, String? displayName, required String programType, String? featureType, bool? captureCoordinates, int? completeEventsExpiryDays, bool? displayFrontPageList, bool? displayIncidentDate, String? enrollmentDateLabel, required bool ignoreOverdueEvents, String? incidentDateLabel, bool? onlyEnrollOnce, Object? organisationUnits, List<
ProgramRuleVariable> ? programRuleVariables, List<ProgramStage> ? programStages, List<ProgramSection> ? programSections, bool? selectEnrollmentDatesInFuture, String? description, bool? selectIncidentDatesInFuture, String? trackedEntity, String? trackedEntityType, bool? useFirstStageDuringRegistration, bool? withoutRegistration, List<ProgramTrackedEntityAttribute> ? programTrackedEntityAttributes, required bool dirty}) -
Program.fromJson(Map<
String, dynamic> json) -
factory
Properties
- captureCoordinates ↔ bool?
-
getter/setter pair
- code → String?
-
finalinherited
- completeEventsExpiryDays ↔ int?
-
getter/setter pair
- created ↔ String?
-
getter/setter pairinherited
- description ↔ String?
-
getter/setter pair
- dirty ↔ bool
-
getter/setter pairinherited
- displayFrontPageList ↔ bool?
-
getter/setter pair
- displayIncidentDate ↔ bool?
-
getter/setter pair
- displayName → String?
-
finalinherited
- enrollmentDateLabel ↔ String?
-
getter/setter pair
- featureType ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
getter/setter pairinherited
- ignoreOverdueEvents ↔ bool
-
getter/setter pair
- incidentDateLabel ↔ String?
-
getter/setter pair
- lastUpdated ↔ String?
-
getter/setter pairinherited
- name ↔ String?
-
getter/setter pairinherited
- onlyEnrollOnce ↔ bool?
-
getter/setter pair
- organisationUnits ↔ Object?
-
getter/setter pair
-
programRuleVariables
↔ List<
ProgramRuleVariable> ? -
getter/setter pair
-
programSections
↔ List<
ProgramSection> ? -
getter/setter pair
-
programStages
↔ List<
ProgramStage> ? -
getter/setter pair
-
programTrackedEntityAttributes
↔ List<
ProgramTrackedEntityAttribute> ? -
getter/setter pair
- programType ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectEnrollmentDatesInFuture ↔ bool?
-
getter/setter pair
- selectIncidentDatesInFuture ↔ bool?
-
getter/setter pair
- shortName → String?
-
finalinherited
- skipDateUpdate ↔ bool?
-
getter/setter pairinherited
- trackedEntity ↔ String?
-
getter/setter pair
- trackedEntityType ↔ String?
-
getter/setter pair
- translation → Translation?
-
no setterinherited
- translations ↔ dynamic
-
getter/setter pairinherited
- useFirstStageDuringRegistration ↔ bool?
-
getter/setter pair
- withoutRegistration ↔ bool?
-
getter/setter pair
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