toFinding method
Implementation
Finding toFinding() {
switch (this) {
case 'Underprovisioned':
return Finding.underprovisioned;
case 'Overprovisioned':
return Finding.overprovisioned;
case 'Optimized':
return Finding.optimized;
case 'NotOptimized':
return Finding.notOptimized;
}
throw Exception('$this is not known in enum Finding');
}