updateItem property
Return the ContentStoreItem that represents an in-progress update for this item.
Returns
- The update ContentStoreItem when an update is in progress, or
nullotherwise.
Also see:
- isUpdatable - Whether an update is available for this item.
- ContentUpdater - Manage content updates in the content store.
Implementation
ContentStoreItem? get updateItem {
final OperationResult resultString = objectMethod(
pointerId,
'ContentStoreItem',
'getUpdateItem',
);
final int id = resultString['result'];
if (id == -1) {
return null;
}
return ContentStoreItem.init(id);
}