1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 23:16:09 +00:00
This commit is contained in:
Yan Maniez 2020-05-16 13:12:24 +02:00
parent 49a46595d7
commit 8987e446a8
8 changed files with 132 additions and 6 deletions

View file

@ -152,6 +152,11 @@ class SqfliteDB extends BaseDB {
return null;
}
@override
Future<List<OriginItem>> loadOrigins() async {
return loadTypedItems<OriginItem>(itemType: "OriginItem");
}
@override
Future<List<BackgroundItem>> loadBackgrounds() async {
return loadTypedItems<BackgroundItem>(itemType: "BackgroundItem");