viewCount property

int viewCount

The number of views of this portal item.

Will return -1 if an error occurs.

Implementation

int get viewCount {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PortalItem_getViewCount(
      _handle,
      errorHandler,
    );
  });
}