toLanguage method

Language toLanguage()

Implementation

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