metadata property
set
metadata
(String data)
Setter function to update the Remote Peer Metadata
NOTE: This will NOT notify other Remote Peers of the update
Implementation
set metadata(String data) {
final newMetadata = jsonEncode(data);
_metadata = newMetadata;
emit("metadata-updated", {
'metadata': newMetadata,
});
}