toLanguageCode method
Implementation
LanguageCode toLanguageCode() {
switch (this) {
case 'en':
return LanguageCode.en;
}
throw Exception('$this is not known in enum LanguageCode');
}
LanguageCode toLanguageCode() {
switch (this) {
case 'en':
return LanguageCode.en;
}
throw Exception('$this is not known in enum LanguageCode');
}