BookmarkTargetFamily class

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.

Copied from bookmarkTarget.

Inheritance

Constructors

BookmarkTargetFamily()
Resolved display title + in-app route for bookmark.
const

Properties

allTransitiveDependencies Iterable<ProviderOrFamily>?
All the dependencies of a provider and their dependencies too.
no setteroverride
dependencies Iterable<ProviderOrFamily>?
The list of providers that this provider potentially depends on.
no setteroverride
from Family<Object?>?
The family that this provider/family depends on.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String?
A custom label for providers.
no setteroverride
overriddenFamily Family<AsyncValue<({String route, String title})>>
The family that was overridden.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

call(Bookmark bookmark) BookmarkTargetProvider
Resolved display title + in-app route for bookmark.
getProviderOverride(covariant BookmarkTargetProvider provider) BookmarkTargetProvider
Obtains the new behavior for a provider associated to the overridden family.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited