EncryptedFileDataStore class

Inheritance

Constructors

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

Properties

encrypter → Encrypter
final
hashCode int
The hash code for this object.
no setterinherited
isDirty bool
Whether the plaintext store has pending changes that should be persisted.
getter/setter pairinherited
isEmpty bool
no setterinherited
isHydrated bool
Whether the file data store has been hydrated yet from its persisted file.
getter/setter pairinherited
name String
The name of the file data store.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffix String
The file data store name suffix.
finalinherited

Methods

delete() Future<void>
inherited
extract([String path = '']) Map<String, dynamic>
Returns a map of the subset of documents in the store under the given path. Data for the given path can exist in two different places:
inherited
graft(String resolverPath, String otherResolverPath, String? dataPath, FileDataStore other) → void
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.
inherited
hasPath(String resolverPath, String path) bool
inherited
hasValue(String resolverPath, String path) bool
inherited
hydrate() Future<void>
inherited
inspect() Map
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
persist() Future<void>
inherited
recursiveDelete(String path) → void
Deletes the given path from the data store recursively. Documents under the given path could be stored in one of two places:
inherited
shallowDelete(String resolverPath, String path) → void
Shallowly deletes the given document path from the given resolver path store.
inherited
sync() Future<void>
inherited
toString() String
A string representation of this object.
inherited
writePath(String resolverPath, String path, dynamic value) → void
inherited

Operators

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