homePageForAppId method
Implementation
PageModel? homePageForAppId(String appId) {
for (var app in apps) {
if (app.app.documentID == appId) {
return app.homePage;
}
}
throw Exception('app not found when trying to find homepage');
}