AppDatabase class

Constructors

AppDatabase()
factory

Properties

database → Future<Database>
no setter
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
queryAll(String tableName) → Future<List<Map<String, dynamic>>>
Get all rows from a table
queryById(String tableName, int id) → Future<Map<String, dynamic>?>
Get a specific row by ID
rawQuery(String sql, [List<Object?>? args]) → Future<List<Map<String, dynamic>>>
Run any raw SELECT query
toString() → String
A string representation of this object.
inherited

Operators

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