toInventoryIncludedObjectVersions method

InventoryIncludedObjectVersions toInventoryIncludedObjectVersions()

Implementation

InventoryIncludedObjectVersions toInventoryIncludedObjectVersions() {
  switch (this) {
    case 'All':
      return InventoryIncludedObjectVersions.all;
    case 'Current':
      return InventoryIncludedObjectVersions.current;
  }
  throw Exception(
      '$this is not known in enum InventoryIncludedObjectVersions');
}