Created
June 30, 2022 09:35
-
-
Save nbnD/448e10f9b1a456f65b3e837dee13fae1 to your computer and use it in GitHub Desktop.
Read items
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static Future<List<Map<String, dynamic>>> getItems() async { | |
final db = await DatabaseHelper.db(); | |
return db.query('items', orderBy: "id"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment