toPackageType method
Implementation
PackageType toPackageType() {
switch (this) {
case 'TXT-DICTIONARY':
return PackageType.txtDictionary;
}
throw Exception('$this is not known in enum PackageType');
}
PackageType toPackageType() {
switch (this) {
case 'TXT-DICTIONARY':
return PackageType.txtDictionary;
}
throw Exception('$this is not known in enum PackageType');
}