ProgramTrackedEntityAttribute constructor

ProgramTrackedEntityAttribute({
  1. required String id,
  2. required String attribute,
  3. required String name,
  4. required int sortOrder,
  5. required String valueType,
  6. required bool mandatory,
  7. bool? displayInList = false,
  8. String? formName,
  9. String? displayName,
  10. bool? renderOptionsAsRadio,
  11. String? aggregationType,
  12. bool? generated,
  13. dynamic program,
  14. bool? isUnique,
  15. bool? optionSetValue,
  16. int? optionSetValueCount,
  17. String? optionSetName,
  18. List<AttributeOption>? options,
  19. required bool dirty,
  20. String? code,
  21. List? translations,
})

Implementation

ProgramTrackedEntityAttribute(
    {required String id,
    required this.attribute,
    required String name,
    required this.sortOrder,
    required this.valueType,
    required this.mandatory,
    this.displayInList = false,
    this.formName,
    String? displayName,
    this.renderOptionsAsRadio,
    this.aggregationType,
    this.generated,
    this.program,
    this.isUnique,
    this.optionSetValue,
    this.optionSetValueCount,
    this.optionSetName,
    this.options,
    required bool dirty,
    String? code,
    List<dynamic>? translations})
    : super(
          id: id,
          name: name,
          code: code,
          displayName: displayName,
          dirty: dirty,
          translations: translations);