item property
The item the feature collection has been created from.
This is only available if the FeatureCollection is associated with a PortalItem. This is the case if the FeatureCollection had been created from an item using FeatureCollection.withItem or if the FeatureCollection had been previously saved as a PortalItem.