addOrUpdate method

  1. @override
Future<bool> addOrUpdate(
  1. Node? node
)
override

add or update the node and all materialized sub-nodes.

Any materialized node is added or updated. Tombstoned nodes may be used to delete a node.

@param node the node to be written o updated @return true if at least one node was added @throws StorageException if the storage backend encounters a problem

Implementation

@override
Future<bool> addOrUpdate(Node? node) async {
  await _finishInit();
  return await _addOrUpdate(node);
}