graft method

void graft(
  1. String resolverPath,
  2. String otherResolverPath,
  3. String? dataPath,
  4. DualDataStore other,
)

Grafts the data in the given other data store under resolver path otherResolverPath and data path dataPath into this data store under resolver path resolverPath at data path dataPath.

Implementation

void graft(
  String resolverPath,
  String otherResolverPath,
  String? dataPath,
  DualDataStore other,
) {
  _plaintextStore._graft(
    other._plaintextStore,
    resolverPath,
    otherResolverPath,
    dataPath,
  );
  _encryptedStore._graft(
    other._encryptedStore,
    resolverPath,
    otherResolverPath,
    dataPath,
  );
}