AppMetadataProvider class

Fetches and publishes AppMetadata from Online / Local Bundle sources (MOD-RUNTIME-006, FR-META-001~005, UI DSL v1.2 §6.2).

Constructors

AppMetadataProvider({AppMetadataSink? sink, Logger? logger})

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

fetchFromServer(Client client, String serverId) Future<AppMetadata?>
FR-META-001, 002 — best-effort Online fetch.
fromBundle(McpBundle bundle, BundleUriResolver uriResolver) AppMetadata
FR-META-003 — extract metadata from a bundle manifest.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
publish(AppMetadata? metadata) Future<void>
FR-META-004, 005 — deliver to sink, swallow sink failures.
toString() String
A string representation of this object.
inherited

Operators

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