fix force close

This commit is contained in:
efrilm
2025-10-07 21:49:15 +07:00
parent 455a6afd70
commit 613b216c04
5 changed files with 76 additions and 58 deletions
@@ -117,4 +117,14 @@ class CategoryModel {
'updated_at': updatedAt.toIso8601String(),
};
}
factory CategoryModel.all() => CategoryModel(
id: 'all',
organizationId: '',
name: 'Semua',
businessType: 'restaurant',
metadata: {},
createdAt: DateTime.now(),
updatedAt: DateTime.now(),
);
}