toUpload static method

dynamic toUpload(
  1. DataValue dataValue
)

Implementation

static toUpload(DataValue dataValue) {
  return ObjectUtil.removeNull({
    "dataElement": dataValue.dataElement,
    "categoryOptionCombo": dataValue.categoryOptionCombo,
    "value": dataValue.value,
    "comment": dataValue.comment
  });
}