toOutputType method

OutputType toOutputType()

Implementation

OutputType toOutputType() {
  switch (this) {
    case 'SDL':
      return OutputType.sdl;
    case 'JSON':
      return OutputType.json;
  }
  throw Exception('$this is not known in enum OutputType');
}