BookmarkTargetProvider class final
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.
- Inheritance
-
- Object
- ProviderOrFamily
- ProviderBase<
AsyncValue< ({String route, String title})> > - BookmarkTargetProvider
- Implemented types
-
- AsyncProviderListenable<
ValueT>
- AsyncProviderListenable<
Properties
- argument → Object?
-
If this provider was created with the
.familymodifier, argument is the variable that was used.finalinherited -
dependencies
→ Iterable<
ProviderOrFamily> ? -
The list of providers that this provider potentially depends on.
finalinherited
- from → Family?
-
If this provider was created with the
.familymodifier, from is the.familyinstance.finalinherited -
future
→ Refreshable<
Future< ({String route, String title})> > -
Obtains the
Futurerepresenting this provider.no setterinherited - hashCode → int
-
The hash code for this object.
no setteroverride
- isAutoDispose → bool
-
Whether the state associated to this provider should be disposed
automatically when the provider stops being listened.
finalinherited
- name → String?
-
A custom label for providers.
finalinherited
-
origin
→ ProviderBase<
AsyncValue< ({String route, String title})> > -
The provider that is overridden.
no setterinherited
- retry → Retry?
-
The retry strategy to use when a provider fails.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$createElement(
$ProviderPointer pointer) → $FutureProviderElement< ({String route, String title})> - @nodoc
-
create(
Ref ref) → FutureOr< ({String route, String title})> - @nodoc
-
debugGetCreateSourceHash(
) → String - A debug-only function for obtaining a hash of the source code of the initialization function.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWith(
Create< FutureOr< create) → Override({String route, String title})> > -
Override the provider with a new initialization function.
inherited
-
overrideWithValue(
AsyncValue< ({String route, String title})> value) → Override -
Overrides a provider with a value, ejecting the default behavior.
inherited
-
selectAsync<
OutT> (OutT selector(({String route, String title}) data)) → ProviderListenable< Future< OutT> > -
A variant of select for asynchronous values
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override