setupMenus method

Future<void> setupMenus()

Implementation

Future<void> setupMenus() async {
  await mainrepo.AbstractRepositorySingleton.singleton
      .homeMenuRepository(theApp.documentID)!
      .add(homeMenu());
  await mainrepo.AbstractRepositorySingleton.singleton
      .menuDefRepository(theApp.documentID)!
      .add(homeMenuDef());
  await mainrepo.AbstractRepositorySingleton.singleton
      .menuDefRepository(theApp.documentID)!
      .add(drawerMenuDef());
  await mainrepo.AbstractRepositorySingleton.singleton
      .menuDefRepository(theApp.documentID)!
      .add(profileDrawerMenuDef());
}