portalItem property
The task's portal item which must be of type PortalItemType.vectorTileService.
This property can only be set when the task is load status LoadStatus.notLoaded or LoadStatus.failedToLoad If the portal item is not of type PortalItemType.vectorTileService the task will fail to load. A vector tile service can be referenced by an item in a portal of type PortalItemType.vectorTileService. This item can also contain custom style resources see ExportVectorTilesTask.hasStyleResources which can be exported as ItemResourceCache.
Implementation
PortalItem? get portalItem => _portalItem.value;