updateSpaceMetadata method
inherited
Updates metadata for a space.
kref is the space's kref URI.
metadata is a map of key-value pairs to set or update.
Existing keys are overwritten; new keys are added.
Implementation
Future<SpaceResponse> updateSpaceMetadata(
String kref,
Map<String, String> metadata,
) async {
final request = UpdateMetadataRequest()
..kref = Kref(uri: kref)
..metadata.addAll(metadata);
return stub.updateSpaceMetadata(request, options: callOptions);
}