toLanguage method

Language toLanguage()

Implementation

Language toLanguage() {
  switch (this) {
    case 'PYTHON':
      return Language.python;
    case 'SCALA':
      return Language.scala;
  }
  throw Exception('$this is not known in enum Language');
}