getLoggedOut2 static method

Future<LoggedOut> getLoggedOut2(
  1. AccessBloc accessBloc,
  2. AppModel app, {
  3. AppModel? playstoreApp,
})

Implementation

static Future<LoggedOut> getLoggedOut2(
  AccessBloc accessBloc,
  AppModel app, {
  AppModel? playstoreApp,
}) async {
  var homePage = await getHomepage(app);
  var apps = [DeterminedApp(app, homePage)];
  var accesses =
      await AccessHelper.getAccesses(accessBloc, null, [app], false);
  var loggedOut = LoggedOut._(apps, accesses, playstoreApp: playstoreApp);
  return loggedOut;
}