shallowClone method

  1. @override
Future<Node> shallowClone()
override

Create a shallow clone of the current node.

any children of the node are included skeletoized.

@return the cloned node @throws StorageException if the storage backend encounters a problem

Implementation

@override
Future<Node> shallowClone() async {
  Node ret = await NodeImpl.fromPath(path, owner);
  await ret.update(this, deepClone: false);
  return ret;
}