toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case OutputType.sdl:
      return 'SDL';
    case OutputType.json:
      return 'JSON';
  }
}