FilePersistorSettings class

Inheritance

Constructors

FilePersistorSettings({bool persistenceEnabled = true, String? getPersistenceKey(Document doc)?, bool encryptionEnabled = false})
const

Properties

encryptionEnabled bool
Whether encryption is enabled globally for all collections in the store.
final
getPersistenceKey String? Function(Document doc)?
By default, a document is persisted to a file by its collection name. If documents in the same collection should be broken into multiple files (due to large collection sizes, etc) or documents should be grouped together across different collections (due to small collection sizes, etc) then the persistenc key can be used to group arbitrary documents together into the same persistence file.
final
hashCode int
The hash code for this object.
no setterinherited
persistenceEnabled bool
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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