canDeleteContent property

bool get canDeleteContent

Check if associated content can be deleted.

Content can be deleted if it has partially or complete local data and is not marked as SDK resource.

Returns

  • True if the content can be deleted, false otherwise

Throws

  • An exception if it fails.

Implementation

bool get canDeleteContent {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'ContentStoreItem',
    'canDeleteContent',
  );

  return resultString['result'];
}