OpenDatabaseOptions class abstract

Options for opening the database see openDatabase for details

Constructors

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
factory

Properties

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

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