AppMetadataProvider class

Fetches and publishes AppMetadata from Online / Local Bundle sources.

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, {int retries = 0, Duration retryDelay = const Duration(milliseconds: 300)}) → 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

Constants

wellKnownUri → const String