getById abstract method

Future<T?> getById(
  1. I id
)

Retrieves an element with given id. When there's no element matching the given id null should be returned.

Implementation

Future<T?> getById(I id);