TrackedEntityAttributeValue constructor

TrackedEntityAttributeValue({
  1. String? id,
  2. String? name,
  3. String? created,
  4. String? lastUpdated,
  5. required bool dirty,
  6. required String attribute,
  7. required dynamic trackedEntityInstance,
  8. required String value,
  9. bool? synced,
})

Implementation

TrackedEntityAttributeValue(
    {String? id,
    String? name,
    String? created,
    String? lastUpdated,
    required bool dirty,
    required this.attribute,
    required this.trackedEntityInstance,
    required this.value,
    this.synced})
    : super(
          id: id,
          name: name,
          created: created,
          lastUpdated: lastUpdated,
          dirty: dirty) {
  this.id = '${this.trackedEntityInstance}_${this.attribute}';
  this.name = this.id;
}