#
Metadata
high level
#
Example
final Metadata? response = await ndk.metadata.loadMetadata(
'3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d');
// read entity
print("METADATA:");
print("name: ${response?.name ?? 'no name'}");
#
How to use
Gives you the metadata for a given pubkey.
Uses caching, so repeated calls are ok.
Use broadcastMetadata()
to update or set metadata.