deleteContent method

GemError deleteContent()

Delete the associated content.

Operation is executed immediately. No notifications are triggered.

Returns

Throws

  • An exception if it fails.

Implementation

GemError deleteContent() {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ContentStoreItem',
    'deleteContent',
  );

  return GemErrorExtension.fromCode(resultString['result']);
}