toPackageType method

PackageType toPackageType()

Implementation

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