get method

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

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

Implementation

Future<OBJ?> get(int id) => getAll([id]).then((objects) => objects[0]);