encode static method
Implementation
static Map<String, dynamic> encode(Measure value) {
Map<String, dynamic> entityAsMap = {
"value" : value.value,
"ref" : value.ref,
"severity" : value.severity,
"severityCode" : value.severityCode,
"evolution" : value.evolution,
"unit" : value.unit,
"unitCodes" : value.unitCodes?.map((x0) => CodeStub.encode(x0)).toList(),
"comment" : value.comment,
"comparator" : value.comparator,
"sign" : value.sign,
"referenceRanges" : value.referenceRanges.map((x0) => ReferenceRange.encode(x0)).toList()
};
return entityAsMap;
}