getSessionById method

  1. @override
Future<SessionV1?> getSessionById(
  1. String? correlationId,
  2. String id
)
override

Gets an session by its unique id.

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

Implementation

@override
Future<SessionV1?> getSessionById(String? correlationId, String id) {
  return persistence.getOneById(correlationId, id);
}