get method

Future<OBJ?> get(
  1. Id id
)

Get a single object by its id or null if the object does not exist.

Implementation

Future<OBJ?> get(Id id) {
  return getAll([id]).then((List<OBJ?> objects) => objects[0]);
}