addApp method
Implementation
@override
Future<LoggedIn> addApp(AccessBloc accessBloc, AppModel newCurrentApp) async {
for (var app in apps) {
if (app.app.documentID == newCurrentApp.documentID) {
return LoggedIn._(
usr,
member,
postLoginAction,
apps,
accesses,
subscribedToApps,
blockedMembers,
playstoreApp: playstoreApp,
isProcessing: isProcessing,
newForceRefresh: forceRefresh,
);
}
}
return addApp2(accessBloc, accesses, apps, newCurrentApp);
}