toCLMLanguageCode method

CLMLanguageCode toCLMLanguageCode()

Implementation

CLMLanguageCode toCLMLanguageCode() {
  switch (this) {
    case 'en-US':
      return CLMLanguageCode.enUs;
  }
  throw Exception('$this is not known in enum CLMLanguageCode');
}