BreadcrumbEntityNameResolver class abstract
Base class for resolving entity names from IDs for breadcrumb navigation
Provides caching, route change tracking, and automatic cache invalidation. Subclasses implement fetchEntityName to perform the actual API lookups.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCache(
) → void - Clear the entire cache
-
clearEntity(
String entityType, String id) → void - Clear a specific entity from the cache
-
clearEntityType(
String entityType) → void - Clear all entities of a specific type from the cache
-
fetchEntityName(
String entityType, String id, {Map< String, String> ? context}) → Future<String?> - Fetch an entity name from the data source
-
humanizeEntityType(
String entityType) → String - Convert entity type to human-readable format
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveEntityName(
String entityType, String id, {Map< String, String> ? context}) → Future<String?> - Resolve an entity name from its type and ID
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited