DualFileDataStore class

Constructors

DualFileDataStore({required String name, required Directory directory, required Encrypter encrypter, bool isHydrated = false})

Properties

hashCode int
The hash code for this object.
no setteroverride
isDirty bool
no setter
isEmpty bool
no setter
isHydrated bool
no setter
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete() Future<void>
extract([String path = '']) Map<String, dynamic>
Returns a map of all values in the data store under the given path.
graft(String resolverPath, String otherResolverPath, String? dataPath, DualFileDataStore other) → void
Grafts the data under resolver path otherResolverPath from the other data store into this data store at resolver path resolverPath.
hasPath(String resolverPath, String path) bool
Returns whether the data store contains the given document path in the value store under the given resolver path.
hasValue(String resolverPath, String path) bool
hydrate() Future<void>
inspect() Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recursiveDelete(String path) → void
Deletes the path recursively from all resolver stores.
shallowDelete(String resolverPath, String path) → void
Deletes the path shallowly from the given resolver path store.
sync() Future<void>
toString() String
A string representation of this object.
inherited
writePath(String? resolverPath, String path, dynamic value, bool encrypted) → void

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

parse(File file, {required Encrypter encrypter, required Directory directory}) DualFileDataStore