addBundleMember method
inherited
Adds an item as a member of a bundle.
bundleKref is the bundle's kref URI.
memberItemKref is the item's kref URI to add.
metadata is optional audit metadata for this operation.
This creates a new bundle revision tracking the addition.
Implementation
Future<AddBundleMemberResponse> addBundleMember(
String bundleKref,
String memberItemKref, {
Map<String, String>? metadata,
}) async {
final request = AddBundleMemberRequest()
..bundleKref = Kref(uri: bundleKref)
..memberItemKref = Kref(uri: memberItemKref);
if (metadata != null) {
request.metadata.addAll(metadata);
}
return stub.addBundleMember(request, options: callOptions);
}