getAccesses static method
Future<Map<String, PagesAndDialogAccesss> >
getAccesses(
- AccessBloc accessBloc,
- MemberModel? member,
- List<
AppModel> apps, - bool isLoggedIn,
Implementation
static Future<Map<String, PagesAndDialogAccesss>> getAccesses(
AccessBloc accessBloc,
MemberModel? member,
List<AppModel> apps,
bool isLoggedIn) async {
var accesses = <String, PagesAndDialogAccesss>{};
for (var app in apps) {
var access =
await AccessHelper._getAccess(accessBloc, member, app, isLoggedIn);
accesses[app.documentID] = access;
}
return accesses;
}