toContactLanguage method

ContactLanguage toContactLanguage()

Implementation

ContactLanguage toContactLanguage() {
  switch (this) {
    case 'EN':
      return ContactLanguage.en;
    case 'JA':
      return ContactLanguage.ja;
  }
  throw Exception('$this is not known in enum ContactLanguage');
}