DataStoreResolver constructor

DataStoreResolver(
  1. DataStoreResolverConfig config
)

Implementation

DataStoreResolver(this.config) {
  // Initialize the root of the resolver with the default file data store key.
  // This ensures that all lookups of values in the resolver by parent path roll up
  // to the default store as a fallback if no other value exists for a given path in the resolver.
  _store.write(ValueStore.root, Persistor.defaultKey.value);
}