targetId property
The id of whichever target this bookmark points at, regardless of kind.
Implementation
String get targetId => switch (kind) {
BookmarkKind.topic => topicId!,
BookmarkKind.chunk => chunkId!,
BookmarkKind.session => sessionId!,
};