moveItem method
inherited
Moves an Item to a Space in another Project without changing its kref.
Implementation
Future<ItemResponse> moveItem(
String kref,
String targetSpacePath, {
String? deletionGuardId,
}) {
final options =
deletionGuardId == null || deletionGuardId.isEmpty
? callOptions
: callOptions.mergedWith(
CallOptions(
metadata: {'x-kumiho-deletion-guard': deletionGuardId},
),
);
return stub.moveItem(
MoveItemRequest()
..itemKref = kref
..targetSpacePath = targetSpacePath,
options: options,
);
}