fromAttributeValues static method
Implementation
static fromAttributeValues(
List<TrackedEntityAttributeValue> attributeValues) {
Map<String, DataValueObject> entities = {};
attributeValues.forEach((attributeValue) {
entities[attributeValue.attribute] = DataValueObject(
id: attributeValue.attribute, value: attributeValue.value);
});
return entities;
}