OpenDatabaseOptions class

Options for opening the database see openDatabase for details


OpenDatabaseOptions({int version, OnDatabaseConfigureFn onConfigure, OnDatabaseCreateFn onCreate, OnDatabaseVersionChangeFn onUpgrade, OnDatabaseVersionChangeFn onDowngrade, OnDatabaseOpenFn onOpen, bool readOnly = false, bool singleInstance = true})
Open the database at a given path [...]


hashCode int
The hash code for this object. [...]
read-only, inherited
onConfigure OnDatabaseConfigureFn
called right after opening the database.
read / write
onCreate OnDatabaseCreateFn
Called when the database is created.
read / write
onDowngrade OnDatabaseVersionChangeFn
Called when the database is downgraded. [...]
read / write
onOpen OnDatabaseOpenFn
Called after all other callbacks have been called.
read / write
onUpgrade OnDatabaseVersionChangeFn
Called when the database is upgraded.
read / write
readOnly bool
Open the database in read-only mode (no callback called).
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
singleInstance bool
The existing single-instance (hot-restart)
read / write
version int
Specify the expected version.
read / write


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


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