DataValue.fromJson constructor

DataValue.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory DataValue.fromJson(Map<String, dynamic> json) {
  return DataValue(
      id: json['id'],
      name: json['name'],
      created: json['created'],
      lastUpdated: json['lastUpdated'],
      dirty: json['dirty'],
      dataElement: json['dataElement'],
      attributeOptionCombo: json['attributeOptionCombo'],
      categoryOptionCombo: json['categoryOptionCombo'],
      dataValueSet: json['dataValueSet'],
      value: json['value'],
      comment: json['comment'],
      synced: json['synced']);
}