DataValue constructor
DataValue({})
Implementation
DataValue(
{String? id,
String? created,
String? lastUpdated,
String? name,
required this.dataElement,
required this.attributeOptionCombo,
required this.categoryOptionCombo,
required this.dataValueSet,
required this.value,
required this.synced,
this.comment,
required dirty})
: super(
id: id,
name: name,
created: created,
lastUpdated: lastUpdated,
dirty: dirty) {
this.id =
'${this.dataElement}_${this.categoryOptionCombo}_${this.dataValueSet}';
this.name = this.name ?? this.id;
}