getLatestSnapshotMetadata abstract method

Future<SessionSnapshot?> getLatestSnapshotMetadata(
  1. String sessionId, {
  2. Map<String, dynamic>? context,
})

SessionStore.getSnapshot by sessionId (the session's latest leaf) without the state: the same resolution, the same null-if-none contract, and a row with state null. The resolved sessionId is carried on the returned row even for a row that stored it only under state.

Implementation

Future<SessionSnapshot?> getLatestSnapshotMetadata(
  String sessionId, {
  Map<String, dynamic>? context,
});