item property

Item? item

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.

Implementation

Item? get item => _item.value;
void item=(Item? value)

Implementation

set item(Item? value) => _item.value = value;