toPatchProperty method
Implementation
PatchProperty toPatchProperty() {
switch (this) {
case 'PRODUCT':
return PatchProperty.product;
case 'PRODUCT_FAMILY':
return PatchProperty.productFamily;
case 'CLASSIFICATION':
return PatchProperty.classification;
case 'MSRC_SEVERITY':
return PatchProperty.msrcSeverity;
case 'PRIORITY':
return PatchProperty.priority;
case 'SEVERITY':
return PatchProperty.severity;
}
throw Exception('$this is not known in enum PatchProperty');
}