revisableReadById abstract method

Future<RevisionData<T>?> revisableReadById(
  1. dynamic id, {
  2. int? version,
  3. bool locked = false,
  4. bool skipLocked = false,
})

Find and read an element with RevisionData by its DataBean.idField value.

Returns the element or null if no element with the given id exists.

Must throw a MissingIdFieldError when the DataObject does not provide an ID-field.

Implementation

Future<RevisionData<T>?> revisableReadById(
  dynamic id, {
  int? version,
  bool locked = false,
  bool skipLocked = false,
});