fromJSON static method
Implementation
static LinkQualification fromJSON(String data) {
switch (data) {
case "exact":
return LinkQualification.exact;
case "narrower":
return LinkQualification.narrower;
case "broader":
return LinkQualification.broader;
case "approximate":
return LinkQualification.approximate;
case "sequence":
return LinkQualification.sequence;
case "parent":
return LinkQualification.parent;
case "child":
return LinkQualification.child;
case "relatedCode":
return LinkQualification.relatedCode;
case "linkedPackage":
return LinkQualification.linkedPackage;
case "relatedService":
return LinkQualification.relatedService;
case "inResponseTo":
return LinkQualification.inResponseTo;
case "replaces":
return LinkQualification.replaces;
case "transforms":
return LinkQualification.transforms;
case "transformsAndReplaces":
return LinkQualification.transformsAndReplaces;
case "appendsTo":
return LinkQualification.appendsTo;
case "basedOn":
return LinkQualification.basedOn;
case "derivedFrom":
return LinkQualification.derivedFrom;
case "device":
return LinkQualification.device;
case "focus":
return LinkQualification.focus;
case "hasMember":
return LinkQualification.hasMember;
case "performer":
return LinkQualification.performer;
case "specimen":
return LinkQualification.specimen;
case "resultInterpreter":
return LinkQualification.resultInterpreter;
case "request":
return LinkQualification.request;
default:
throw ArgumentError('Invalid LinkQualification entry value $data');
}
}