runTheRest method
Future<AppHomePageReferencesModel>
runTheRest(
- String? ownerID,
- DrawerModel drawer,
- DrawerModel endDrawer
override
Implementation
@override
Future<AppHomePageReferencesModel> runTheRest(
String? ownerID, DrawerModel drawer, DrawerModel endDrawer) async {
var member = await AbstractMainRepositorySingleton.singleton
.memberRepository()!
.get(ownerID);
if (member == null) {
throw Exception("Can not find member");
} else {
await Album(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run(member);
/*
var homePageLevel1Member = await Feed(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run(member);
*/
// await createFollowMenu();
/*
await OtherFeedPages(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run();
await Profile(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run(member, Feed.feedModel());
*/
await WorkflowSetup(installApp: this).run();
await About(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run();
await Welcome(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run();
var homePageSubscribedMember = await PlayStore(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run();
await MinkeyNotificationDashboard(
installApp: this,
).run();
await MinkeyMemberDashboard(
installApp: this,
).run();
/*
await MinkeyMembershipDashboard(
installApp: this,
).run();
*/
await MinkeyAssignmentViewSetup(installApp: this).run();
/*
await MinkeyFollowDashboards(
installApp: this,
).run();
*/
await MinkeyChatPage(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run();
var homePageBlockedMember = await MinkeyBlocked(
installApp: this,
homeMenu: homeMenu(),
drawer: drawer,
endDrawer: endDrawer,
).run();
var homePageLevel1Member = homePageSubscribedMember;
AppHomePageReferencesModel homePages = AppHomePageReferencesModel(
homePageBlockedMember: homePageBlockedMember.documentID,
homePageSubscribedMember: homePageSubscribedMember.documentID,
homePageLevel1Member: homePageLevel1Member.documentID,
homePageLevel2Member: homePageLevel1Member.documentID,
homePagePublic: homePageSubscribedMember.documentID,
);
return homePages;
}
}