DatabaseStorageBase class Null safety

Basic building blocks of a database storage clas

Implementers

Constructors

DatabaseStorageBase(String name, int version)

Properties

db Database
The database connection to handle data storage operations
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
Name of the database
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
schema Map<String, List<String>>
The database schema as a map of the table name to the column names
final
version int
The current version of the database
final

Methods

ensureDbOpen() Future<void>
Ensures that a databse connection is open before using db
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited
updateTableSchema(String table, List<String> columns) → dynamic
Updates the schema

Operators

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