toLanguageCode method
Implementation
LanguageCode toLanguageCode() {
switch (this) {
case 'ENG':
return LanguageCode.eng;
case 'SPA':
return LanguageCode.spa;
case 'FRA':
return LanguageCode.fra;
case 'DEU':
return LanguageCode.deu;
case 'GER':
return LanguageCode.ger;
case 'ZHO':
return LanguageCode.zho;
case 'ARA':
return LanguageCode.ara;
case 'HIN':
return LanguageCode.hin;
case 'JPN':
return LanguageCode.jpn;
case 'RUS':
return LanguageCode.rus;
case 'POR':
return LanguageCode.por;
case 'ITA':
return LanguageCode.ita;
case 'URD':
return LanguageCode.urd;
case 'VIE':
return LanguageCode.vie;
case 'KOR':
return LanguageCode.kor;
case 'PAN':
return LanguageCode.pan;
case 'ABK':
return LanguageCode.abk;
case 'AAR':
return LanguageCode.aar;
case 'AFR':
return LanguageCode.afr;
case 'AKA':
return LanguageCode.aka;
case 'SQI':
return LanguageCode.sqi;
case 'AMH':
return LanguageCode.amh;
case 'ARG':
return LanguageCode.arg;
case 'HYE':
return LanguageCode.hye;
case 'ASM':
return LanguageCode.asm;
case 'AVA':
return LanguageCode.ava;
case 'AVE':
return LanguageCode.ave;
case 'AYM':
return LanguageCode.aym;
case 'AZE':
return LanguageCode.aze;
case 'BAM':
return LanguageCode.bam;
case 'BAK':
return LanguageCode.bak;
case 'EUS':
return LanguageCode.eus;
case 'BEL':
return LanguageCode.bel;
case 'BEN':
return LanguageCode.ben;
case 'BIH':
return LanguageCode.bih;
case 'BIS':
return LanguageCode.bis;
case 'BOS':
return LanguageCode.bos;
case 'BRE':
return LanguageCode.bre;
case 'BUL':
return LanguageCode.bul;
case 'MYA':
return LanguageCode.mya;
case 'CAT':
return LanguageCode.cat;
case 'KHM':
return LanguageCode.khm;
case 'CHA':
return LanguageCode.cha;
case 'CHE':
return LanguageCode.che;
case 'NYA':
return LanguageCode.nya;
case 'CHU':
return LanguageCode.chu;
case 'CHV':
return LanguageCode.chv;
case 'COR':
return LanguageCode.cor;
case 'COS':
return LanguageCode.cos;
case 'CRE':
return LanguageCode.cre;
case 'HRV':
return LanguageCode.hrv;
case 'CES':
return LanguageCode.ces;
case 'DAN':
return LanguageCode.dan;
case 'DIV':
return LanguageCode.div;
case 'NLD':
return LanguageCode.nld;
case 'DZO':
return LanguageCode.dzo;
case 'ENM':
return LanguageCode.enm;
case 'EPO':
return LanguageCode.epo;
case 'EST':
return LanguageCode.est;
case 'EWE':
return LanguageCode.ewe;
case 'FAO':
return LanguageCode.fao;
case 'FIJ':
return LanguageCode.fij;
case 'FIN':
return LanguageCode.fin;
case 'FRM':
return LanguageCode.frm;
case 'FUL':
return LanguageCode.ful;
case 'GLA':
return LanguageCode.gla;
case 'GLG':
return LanguageCode.glg;
case 'LUG':
return LanguageCode.lug;
case 'KAT':
return LanguageCode.kat;
case 'ELL':
return LanguageCode.ell;
case 'GRN':
return LanguageCode.grn;
case 'GUJ':
return LanguageCode.guj;
case 'HAT':
return LanguageCode.hat;
case 'HAU':
return LanguageCode.hau;
case 'HEB':
return LanguageCode.heb;
case 'HER':
return LanguageCode.her;
case 'HMO':
return LanguageCode.hmo;
case 'HUN':
return LanguageCode.hun;
case 'ISL':
return LanguageCode.isl;
case 'IDO':
return LanguageCode.ido;
case 'IBO':
return LanguageCode.ibo;
case 'IND':
return LanguageCode.ind;
case 'INA':
return LanguageCode.ina;
case 'ILE':
return LanguageCode.ile;
case 'IKU':
return LanguageCode.iku;
case 'IPK':
return LanguageCode.ipk;
case 'GLE':
return LanguageCode.gle;
case 'JAV':
return LanguageCode.jav;
case 'KAL':
return LanguageCode.kal;
case 'KAN':
return LanguageCode.kan;
case 'KAU':
return LanguageCode.kau;
case 'KAS':
return LanguageCode.kas;
case 'KAZ':
return LanguageCode.kaz;
case 'KIK':
return LanguageCode.kik;
case 'KIN':
return LanguageCode.kin;
case 'KIR':
return LanguageCode.kir;
case 'KOM':
return LanguageCode.kom;
case 'KON':
return LanguageCode.kon;
case 'KUA':
return LanguageCode.kua;
case 'KUR':
return LanguageCode.kur;
case 'LAO':
return LanguageCode.lao;
case 'LAT':
return LanguageCode.lat;
case 'LAV':
return LanguageCode.lav;
case 'LIM':
return LanguageCode.lim;
case 'LIN':
return LanguageCode.lin;
case 'LIT':
return LanguageCode.lit;
case 'LUB':
return LanguageCode.lub;
case 'LTZ':
return LanguageCode.ltz;
case 'MKD':
return LanguageCode.mkd;
case 'MLG':
return LanguageCode.mlg;
case 'MSA':
return LanguageCode.msa;
case 'MAL':
return LanguageCode.mal;
case 'MLT':
return LanguageCode.mlt;
case 'GLV':
return LanguageCode.glv;
case 'MRI':
return LanguageCode.mri;
case 'MAR':
return LanguageCode.mar;
case 'MAH':
return LanguageCode.mah;
case 'MON':
return LanguageCode.mon;
case 'NAU':
return LanguageCode.nau;
case 'NAV':
return LanguageCode.nav;
case 'NDE':
return LanguageCode.nde;
case 'NBL':
return LanguageCode.nbl;
case 'NDO':
return LanguageCode.ndo;
case 'NEP':
return LanguageCode.nep;
case 'SME':
return LanguageCode.sme;
case 'NOR':
return LanguageCode.nor;
case 'NOB':
return LanguageCode.nob;
case 'NNO':
return LanguageCode.nno;
case 'OCI':
return LanguageCode.oci;
case 'OJI':
return LanguageCode.oji;
case 'ORI':
return LanguageCode.ori;
case 'ORM':
return LanguageCode.orm;
case 'OSS':
return LanguageCode.oss;
case 'PLI':
return LanguageCode.pli;
case 'FAS':
return LanguageCode.fas;
case 'POL':
return LanguageCode.pol;
case 'PUS':
return LanguageCode.pus;
case 'QUE':
return LanguageCode.que;
case 'QAA':
return LanguageCode.qaa;
case 'RON':
return LanguageCode.ron;
case 'ROH':
return LanguageCode.roh;
case 'RUN':
return LanguageCode.run;
case 'SMO':
return LanguageCode.smo;
case 'SAG':
return LanguageCode.sag;
case 'SAN':
return LanguageCode.san;
case 'SRD':
return LanguageCode.srd;
case 'SRB':
return LanguageCode.srb;
case 'SNA':
return LanguageCode.sna;
case 'III':
return LanguageCode.iii;
case 'SND':
return LanguageCode.snd;
case 'SIN':
return LanguageCode.sin;
case 'SLK':
return LanguageCode.slk;
case 'SLV':
return LanguageCode.slv;
case 'SOM':
return LanguageCode.som;
case 'SOT':
return LanguageCode.sot;
case 'SUN':
return LanguageCode.sun;
case 'SWA':
return LanguageCode.swa;
case 'SSW':
return LanguageCode.ssw;
case 'SWE':
return LanguageCode.swe;
case 'TGL':
return LanguageCode.tgl;
case 'TAH':
return LanguageCode.tah;
case 'TGK':
return LanguageCode.tgk;
case 'TAM':
return LanguageCode.tam;
case 'TAT':
return LanguageCode.tat;
case 'TEL':
return LanguageCode.tel;
case 'THA':
return LanguageCode.tha;
case 'BOD':
return LanguageCode.bod;
case 'TIR':
return LanguageCode.tir;
case 'TON':
return LanguageCode.ton;
case 'TSO':
return LanguageCode.tso;
case 'TSN':
return LanguageCode.tsn;
case 'TUR':
return LanguageCode.tur;
case 'TUK':
return LanguageCode.tuk;
case 'TWI':
return LanguageCode.twi;
case 'UIG':
return LanguageCode.uig;
case 'UKR':
return LanguageCode.ukr;
case 'UZB':
return LanguageCode.uzb;
case 'VEN':
return LanguageCode.ven;
case 'VOL':
return LanguageCode.vol;
case 'WLN':
return LanguageCode.wln;
case 'CYM':
return LanguageCode.cym;
case 'FRY':
return LanguageCode.fry;
case 'WOL':
return LanguageCode.wol;
case 'XHO':
return LanguageCode.xho;
case 'YID':
return LanguageCode.yid;
case 'YOR':
return LanguageCode.yor;
case 'ZHA':
return LanguageCode.zha;
case 'ZUL':
return LanguageCode.zul;
case 'ORJ':
return LanguageCode.orj;
case 'QPC':
return LanguageCode.qpc;
case 'TNG':
return LanguageCode.tng;
}
throw Exception('$this is not known in enum LanguageCode');
}