findById abstract method

Future<E?> findById(
  1. K id
)

Finds an entity by its primary key id.

Returns the entity if found, otherwise null.

Implementation

Future<E?> findById(K id);