extendAccesses static method

Future<Map<String, PagesAndDialogAccesss>> extendAccesses(
  1. AccessBloc accessBloc,
  2. MemberModel? member,
  3. Map<String, PagesAndDialogAccesss> currentAccesses,
  4. AppModel addApp,
  5. bool isLoggedIn,
)

Implementation

static Future<Map<String, PagesAndDialogAccesss>> extendAccesses(
    AccessBloc accessBloc,
    MemberModel? member,
    Map<String, PagesAndDialogAccesss> currentAccesses,
    AppModel addApp,
    bool isLoggedIn) async {
  var access =
      await AccessHelper._getAccess(accessBloc, member, addApp, isLoggedIn);
  currentAccesses[addApp.documentID] = access;
  return currentAccesses;
}