toDescribePackagesFilterName method

DescribePackagesFilterName toDescribePackagesFilterName()

Implementation

DescribePackagesFilterName toDescribePackagesFilterName() {
  switch (this) {
    case 'PackageID':
      return DescribePackagesFilterName.packageID;
    case 'PackageName':
      return DescribePackagesFilterName.packageName;
    case 'PackageStatus':
      return DescribePackagesFilterName.packageStatus;
  }
  throw Exception('$this is not known in enum DescribePackagesFilterName');
}