Metadatas class

nostr metadata usecase

Constructors

Metadatas({required Requests requests, required CacheManager cacheManager, required RelayManager relayManager})

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

broadcastMetadata(Metadata metadata, Iterable<String> broadcastRelays, EventSigner eventSigner) Future<Metadata>
loadMetadata(String pubKey, {bool forceRefresh = false, int idleTimeout = RelayManager.DEFAULT_STREAM_IDLE_TIMEOUT}) Future<Metadata?>
loadMetadatas(List<String> pubKeys, RelaySet? relaySet, {dynamic onLoad(Metadata)?}) Future<List<Metadata>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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