toCompute method
Implementation
Compute toCompute() {
switch (this) {
case 'VALUE':
return Compute.value;
case 'STANDARD':
return Compute.standard;
case 'PERFORMANCE':
return Compute.performance;
case 'POWER':
return Compute.power;
case 'GRAPHICS':
return Compute.graphics;
case 'POWERPRO':
return Compute.powerpro;
case 'GRAPHICSPRO':
return Compute.graphicspro;
}
throw Exception('$this is not known in enum Compute');
}