commentsEnabled property

bool commentsEnabled

True if the comments are allowed on the portal item, false otherwise.

Will return false if an error occurs.

Implementation

bool get commentsEnabled {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_PortalItem_getCommentsEnabled(
      _handle,
      errorHandler,
    );
  });
}