PortalItem.withPortalAndType constructor
- required Portal portal,
- required PortalItemType type,
Creates a new portal item with the specified type in the specified portal.
Use this constructor if you wish to create a new a PortalItem to add to a portal.
Parameters:
portal— The portal.type— The type of portal item.