encode static method

Map<String, dynamic> encode(
  1. Measure value
)

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;
}