FileDataStore class
- Implementers
Constructors
- FileDataStore({required File file, required String name})
Properties
-
data
→ Map<
String, Json> -
A map of documents by key (collection:id) to the document's JSON data.
final
- file → File
-
final
- 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 pair
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(
) → Future< void> -
hydrate(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
persist(
) → Future< void> -
readFile(
) → Future< String> -
removeDocument(
String documentKey) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateDocument(
String documentKey, Json docData) → void -
writeFile(
String value) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited