toAnalysisSchemeLanguage method
Implementation
AnalysisSchemeLanguage toAnalysisSchemeLanguage() {
switch (this) {
case 'ar':
return AnalysisSchemeLanguage.ar;
case 'bg':
return AnalysisSchemeLanguage.bg;
case 'ca':
return AnalysisSchemeLanguage.ca;
case 'cs':
return AnalysisSchemeLanguage.cs;
case 'da':
return AnalysisSchemeLanguage.da;
case 'de':
return AnalysisSchemeLanguage.de;
case 'el':
return AnalysisSchemeLanguage.el;
case 'en':
return AnalysisSchemeLanguage.en;
case 'es':
return AnalysisSchemeLanguage.es;
case 'eu':
return AnalysisSchemeLanguage.eu;
case 'fa':
return AnalysisSchemeLanguage.fa;
case 'fi':
return AnalysisSchemeLanguage.fi;
case 'fr':
return AnalysisSchemeLanguage.fr;
case 'ga':
return AnalysisSchemeLanguage.ga;
case 'gl':
return AnalysisSchemeLanguage.gl;
case 'he':
return AnalysisSchemeLanguage.he;
case 'hi':
return AnalysisSchemeLanguage.hi;
case 'hu':
return AnalysisSchemeLanguage.hu;
case 'hy':
return AnalysisSchemeLanguage.hy;
case 'id':
return AnalysisSchemeLanguage.id;
case 'it':
return AnalysisSchemeLanguage.it;
case 'ja':
return AnalysisSchemeLanguage.ja;
case 'ko':
return AnalysisSchemeLanguage.ko;
case 'lv':
return AnalysisSchemeLanguage.lv;
case 'mul':
return AnalysisSchemeLanguage.mul;
case 'nl':
return AnalysisSchemeLanguage.nl;
case 'no':
return AnalysisSchemeLanguage.no;
case 'pt':
return AnalysisSchemeLanguage.pt;
case 'ro':
return AnalysisSchemeLanguage.ro;
case 'ru':
return AnalysisSchemeLanguage.ru;
case 'sv':
return AnalysisSchemeLanguage.sv;
case 'th':
return AnalysisSchemeLanguage.th;
case 'tr':
return AnalysisSchemeLanguage.tr;
case 'zh-Hans':
return AnalysisSchemeLanguage.zhHans;
case 'zh-Hant':
return AnalysisSchemeLanguage.zhHant;
}
throw Exception('$this is not known in enum AnalysisSchemeLanguage');
}