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>
deletePath(String path, {bool recursive = true}) Future<void>
extractValues([String path = '']) → (Map<String, Json>, Map<String, Json>)
Returns a flat map of all the values in the plaintext and encrypted data by path.
graft(DualFileDataStore other, String path) Future<void>
hasValue(String path) bool
hydrate() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sync() Future<void>
toString() String
A string representation of this object.
inherited
writePath(String path, Json value, bool encrypted) Future<void>

Operators

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

Static Methods

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