setMetadata method
Sets metadata for this revision.
await revision.setMetadata({'notes': 'Updated mesh', 'artist': 'john'});
Implementation
Future<void> setMetadata(Map<String, String> metadata) async {
for (final entry in metadata.entries) {
await client.setAttribute(kref.uri, entry.key, entry.value);
}
}