Refactor provider and store models to use fromMap method; update associated stores handling in UI

This commit is contained in:
2026-04-17 11:36:15 +02:00
parent c1b6c9e7ac
commit 22a4f1dac4
9 changed files with 78 additions and 54 deletions

View File

@@ -57,7 +57,7 @@ class StaffRepository {
.eq('staff_member_id', staffId);
return (response as List)
.map((item) => StoreModel.fromJson(item['store']))
.map((item) => StoreModel.fromMap(item['store']))
.toList();
}