updateVersion method

Resource updateVersion({
  1. Meta? oldMeta,
})
inherited

Updates the meta field of this Resource, updates the meta.lastUpdated field, adds 1 to the version number

Implementation

Resource updateVersion({Meta? oldMeta}) => _updateMeta(this, meta: oldMeta);