EmbeddedValueResolutionSupport class
A mixin-style infrastructure base support utility class designed to automate the mechanics of string value resolver capture and execution hooks.
This component provides a clean, pre-built implementation of the EmbeddedValueResolverAware interface. Component context container subclasses extend or mix in this block to inherit standardized placeholder resolution methods, shielding internal business logic from manual lifecycle tracking configurations.
Architecture Example
class CustomResourceLoader extends EmbeddedValueResolutionSupport {
Future<void> fetchRemoteConfig(String resourcePathPattern) async {
// Leverage internal resolution support helper cleanly
final String? finalizedPath = await resolveEmbeddedValue(resourcePathPattern);
print("Loading resource map profile from: $finalizedPath");
}
}
- Implemented types
Constructors
- EmbeddedValueResolutionSupport()
- A mixin-style infrastructure base support utility class designed to automate the mechanics of string value resolver capture and execution hooks.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveEmbeddedValue(
String value) → FutureOr< String?> - Internal diagnostic helper executing placeholder expansion operations safely across the captured delegate stack.
-
setEmbeddedValueResolver(
StringValueResolver resolver) → void -
Injects the designated global or localized
resolverinstance dependency into the active component.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited