canDeleteContent property

bool get canDeleteContent

Whether the local content associated with this item can be deleted.

Content may be deleted if there is local data (partial or complete) and the item is not flagged as an SDK resource.

Returns

  • true when deletion is allowed, otherwise false.

Implementation

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

  return resultString['result'];
}