From 384d38a9719325d3ea3f8a16e8d0dd20aa70f67c Mon Sep 17 00:00:00 2001 From: marcoabat Date: Sun, 6 Aug 2023 15:56:19 +0200 Subject: [PATCH] cleaned up warning --- lib/services/dbhelper.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/dbhelper.dart b/lib/services/dbhelper.dart index 7e5e8ef..fd7a301 100644 --- a/lib/services/dbhelper.dart +++ b/lib/services/dbhelper.dart @@ -71,13 +71,13 @@ class DbHelper { return res.last['id'] as int; } - static Future> getItemsByChecklistId(int checklist_id) async { + static Future> getItemsByChecklistId(int checklistId) async { final List items = []; final itemRes = await _client .from(itemsTableName) .select>>() - .eq('checklist_id', checklist_id); + .eq('checklist_id', checklistId); for (final item in itemRes) { items.add(