homeMenu function
Implementation
Future<HomeMenuModel> homeMenu(String appId, {bool? store}) async {
var homeMenuId = homeMenuID(appId);
var homeMenu = await homeMenuRepository(appId: appId)!.get(homeMenuId);
if (homeMenu == null) {
return newHomeMenu(appId, store: store);
} else {
return homeMenu;
}
}