DatabaseConfiguration class Null safety Database

Configuration for opening or copying a Database.

Constructors

DatabaseConfiguration({String? directory, EncryptionKey? encryptionKey})
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.
read / write
encryptionKey EncryptionKey?
The key to encrypt the database with. [...]
read / write
hashCode int
The hash code for this object. [...]
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override