DatabaseHelper class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
close(
Database database) → Future< void> -
connect(
) → Future< Database> -
createTable(
{required Database database, required Map< String, dynamic> migrationScript}) → Future<void> -
initialize(
) → Future< Database> -
initializeTable(
{required Database database, required int version}) → Future< void>
Constants
- databaseName → const String
- databaseVersion → const int