getOneById abstract method
- String? correlation_id,
- K id
Gets a data items by its unique id.
correlation_id
(optional) transaction id to trace execution through call chain.id
an id of item to be retrieved. Return that receives an item Throw error.
Implementation
Future<T?> getOneById(String? correlation_id, K id);