Configuration for opening or copying a Database.
Constructors
- DatabaseConfiguration({String? directory, EncryptionKey? encryptionKey, bool fullSync = false})
- Creates a configuration for opening or copying a Database.
- DatabaseConfiguration.from(DatabaseConfiguration config)
-
Creates a configuration from another
config
, by copying its properties.
Properties
- directory ↔ String
-
Path to the directory to store the Database in.
getter/setter pair
- encryptionKey ↔ EncryptionKey?
-
The key to encrypt the database with.
getter/setter pair
- fullSync ↔ bool
-
Whether to enable fully synchronous writes.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override