RegistryMetadataSink<T> class
Default AppMetadataSink that writes metadata back into the shell's
AppsRegistry. When AppMetadataProvider.publish fires, the
matching registry entry is updated via the shell-supplied merge
callback so the launcher tile re-renders with the fresh name /
iconUrl / metadataJson without bespoke wiring.
Wired automatically by AppPlayerCoreService.initialize when
appsRegistry is provided. Shells that need extra processing (e.g.
analytics) can chain additional sinks via ChainedAppMetadataSink.
- Implemented types
Constructors
-
RegistryMetadataSink({required AppsRegistry<
T> registry, required T merge(T existing, AppMetadata metadata)})
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
-
onMetadata(
AppMetadata metadata) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited