getOneById method

  1. @override
Future<T> getOneById (String correlationId, K id)

Gets a data item by its unique id.

  • correlationId (optional) transaction id to trace execution through call chain.
  • id an id of data item to be retrieved. Return Future that receives data item Throws error.