toLanguage method
Implementation
Language toLanguage() {
switch (this) {
case 'DETECTORPL':
return Language.detectorpl;
}
throw Exception('$this is not known in enum Language');
}
Language toLanguage() {
switch (this) {
case 'DETECTORPL':
return Language.detectorpl;
}
throw Exception('$this is not known in enum Language');
}