byId abstract method

Future<T?> byId(
  1. ObjectId id
)

Subclasses must implement this to return a single object by id.

Implementation

Future<T?> byId(ObjectId id);