OpenMode enum Null safety

Controls how databases should be opened by sqlite

Constants

readOnly → const OpenMode

The database is opened in read-only mode. If the database does not already exist, an error is returned.

const OpenMode(0)
readWrite → const OpenMode

The database is opened for reading and writing if possible, or reading only if the file is write protected by the operating system. In either case the database must already exist, otherwise an error is returned.

const OpenMode(1)
readWriteCreate → const OpenMode

The database is opened for reading and writing, and is created if it does not already exist

const OpenMode(2)
values → const List<OpenMode>

A constant List of the values in this enum, in order of their declaration.

const List<OpenMode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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. [...]
inherited