DbProvider class

Constructors

DbProvider({String databaseName: 'appdb.db'})

Properties

databaseName → String
final
db Database
read / write
logs → List<Object>
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

checkDatabaseExists() → Future<bool>
checkTableExists(String tableName) → Future<bool>
close() → Future<void>
deleteDatabase() → Future<void>
getPath() → Future<String>
init() → Future<bool>
truncate(String tableName) → Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited