encode static method

String encode(
  1. LinkQualification value
)

Implementation

static String encode(LinkQualification value) {
	switch (value) {
		case LinkQualification.exact:
			return 'exact';
		case LinkQualification.narrower:
			return 'narrower';
		case LinkQualification.broader:
			return 'broader';
		case LinkQualification.approximate:
			return 'approximate';
		case LinkQualification.sequence:
			return 'sequence';
		case LinkQualification.parent:
			return 'parent';
		case LinkQualification.child:
			return 'child';
		case LinkQualification.relatedCode:
			return 'relatedCode';
		case LinkQualification.linkedPackage:
			return 'linkedPackage';
		case LinkQualification.relatedService:
			return 'relatedService';
		case LinkQualification.inResponseTo:
			return 'inResponseTo';
		case LinkQualification.replaces:
			return 'replaces';
		case LinkQualification.transforms:
			return 'transforms';
		case LinkQualification.transformsAndReplaces:
			return 'transformsAndReplaces';
		case LinkQualification.appendsTo:
			return 'appendsTo';
		case LinkQualification.basedOn:
			return 'basedOn';
		case LinkQualification.derivedFrom:
			return 'derivedFrom';
		case LinkQualification.device:
			return 'device';
		case LinkQualification.focus:
			return 'focus';
		case LinkQualification.hasMember:
			return 'hasMember';
		case LinkQualification.performer:
			return 'performer';
		case LinkQualification.specimen:
			return 'specimen';
		case LinkQualification.resultInterpreter:
			return 'resultInterpreter';
		case LinkQualification.request:
			return 'request';
		}
}