EncryptedFileDataStore class
- Inheritance
-
- Object
- FileDataStore
- EncryptedFileDataStore
Constructors
- EncryptedFileDataStore({required String name, required File file, required Encrypter encrypter})
Properties
-
data
→ Map<
String, Json> -
A map of documents by key (collection:id) to the document's JSON data.
finalinherited
- encrypter → Encrypter
-
final
- file → File
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDirty ↔ bool
-
Whether the file data store has pending changes that should be persisted.
getter/setter pairinherited
- name → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → Future< void> -
inherited
-
hydrate(
) → Future< void> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
persist(
) → Future< void> -
inherited
-
readFile(
) → Future< String> -
override
-
removeDocument(
String documentKey) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateDocument(
String documentKey, Json docData) → void -
inherited
-
writeFile(
String value) → Future< void> -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited