setupApplication method

  1. @override
Future<AppModel> setupApplication(
  1. AppHomePageReferencesModel homePages,
  2. String ownerID,
)
override

Implementation

@override
Future<AppModel> setupApplication(AppHomePageReferencesModel homePages,
    String ownerID, PublicMediumModel? logo) async {
  AppModel application = AppModel(
    documentID: minkeyAppId,
    title: "Minkey!",
    description: "Minkey",
    logo: logo,
    email: "minkey.io.info@gmail.com",
    styleFamily: MonaStyleFamily.monaStyleFamilyName,
    styleName: MonaStyleFamily.johanStyleName,
    homePages: homePages,
    ownerID: ownerID,
    appStatus: AppStatus.live,
  );
  return await AbstractMainRepositorySingleton.singleton
      .appRepository()!
      .update(application);
}