Program constructor

Program({
  1. required String id,
  2. String? created,
  3. String? lastUpdated,
  4. required String name,
  5. required String shortName,
  6. String? code,
  7. String? displayName,
  8. required String programType,
  9. String? featureType,
  10. bool? captureCoordinates,
  11. int? completeEventsExpiryDays,
  12. bool? displayFrontPageList,
  13. bool? displayIncidentDate,
  14. String? enrollmentDateLabel,
  15. required bool ignoreOverdueEvents,
  16. String? incidentDateLabel,
  17. bool? onlyEnrollOnce,
  18. Object? organisationUnits,
  19. List<ProgramRuleVariable>? programRuleVariables,
  20. List<ProgramStage>? programStages,
  21. List<ProgramSection>? programSections,
  22. bool? selectEnrollmentDatesInFuture,
  23. String? description,
  24. bool? selectIncidentDatesInFuture,
  25. String? trackedEntity,
  26. String? trackedEntityType,
  27. bool? useFirstStageDuringRegistration,
  28. bool? withoutRegistration,
  29. List<ProgramTrackedEntityAttribute>? programTrackedEntityAttributes,
  30. 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);