toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case Mode.standard:
      return 'standard';
    case Mode.highPerformance:
      return 'high-performance';
  }
}