get method

OBJ? get(
  1. ID id
)

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

Implementation

OBJ? get(ID id) => getAll([id]).firstOrNull;