NodeImpl.createSkeleton constructor

NodeImpl.createSkeleton(
  1. String path,
  2. String nodeOwner,
  3. StorageController? _controller
)

Constructor creating a skeleton node.

@param path the path of the node @param controller the controller to fetch the full node

Implementation

NodeImpl.createSkeleton(String path, String nodeOwner, this._controller) {
  _skeleton.set(true);
  owner = nodeOwner;
  try {
    _ordinals[Field.path] = path;
    _checkName(path);
  } on StorageException {
    rethrow;
  }
}