type property
The GIS content type of this portal item.
A portal item's type cannot be changed once it has an item ID. If you wish to change the type you must create a new PortalItem.
Implementation
PortalItemType get type {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_PortalItem_getType(
_handle,
errorHandler,
);
});
return PortalItemType._fromCoreValue(
coreValue,
);
}
Implementation
set type(PortalItemType value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_PortalItem_setType(
_handle,
value.coreValue,
errorHandler,
);
});
}