Program constructor
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,
Implementation
Program(
{required String id,
String? created,
String? lastUpdated,
required String name,
required String shortName,
String? code,
String? displayName,
required this.programType,
this.featureType,
this.captureCoordinates,
this.completeEventsExpiryDays,
this.displayFrontPageList,
this.displayIncidentDate,
this.enrollmentDateLabel,
required this.ignoreOverdueEvents,
this.incidentDateLabel,
this.onlyEnrollOnce,
this.organisationUnits,
this.programRuleVariables,
this.programStages,
this.programSections,
this.selectEnrollmentDatesInFuture,
this.description,
this.selectIncidentDatesInFuture,
this.trackedEntity,
this.trackedEntityType,
this.useFirstStageDuringRegistration,
this.withoutRegistration,
this.programTrackedEntityAttributes,
required bool dirty})
: super(
id: id,
name: name,
shortName: shortName,
displayName: displayName,
code: code,
created: created,
lastUpdated: lastUpdated,
dirty: dirty);