call method

BookmarkTargetProvider call(
  1. Bookmark bookmark
)

Resolved display title + in-app route for bookmark.

The raw row only stores a target id, so this resolves a human title (the bookmark's note if set, else the owning topic's title — never a bare UUID) and a real route via SupabaseDatasource.resolveBookmarkTarget. Topics and chunks open the topic's lesson (/domains/:slug/topics/:topicId/lesson); sessions resume the Socratic tutor (/tutor/chat?topicId=…). Falls back to /progress when the topic or its domain can't be resolved.

Implementation

BookmarkTargetProvider call(Bookmark bookmark) =>
    BookmarkTargetProvider._(argument: bookmark, from: this);