toFindingReasonCode method
Implementation
FindingReasonCode toFindingReasonCode() {
switch (this) {
case 'MemoryOverprovisioned':
return FindingReasonCode.memoryOverprovisioned;
case 'MemoryUnderprovisioned':
return FindingReasonCode.memoryUnderprovisioned;
}
throw Exception('$this is not known in enum FindingReasonCode');
}