toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Compute.value:
      return 'VALUE';
    case Compute.standard:
      return 'STANDARD';
    case Compute.performance:
      return 'PERFORMANCE';
    case Compute.power:
      return 'POWER';
    case Compute.graphics:
      return 'GRAPHICS';
    case Compute.powerpro:
      return 'POWERPRO';
    case Compute.graphicspro:
      return 'GRAPHICSPRO';
  }
}