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 {
  var application = AppModel(
    documentID: juuwleAppId,
    title: 'Juuwle!',
    description: 'Juuwle',
    logo: logo,
    email: 'juuwle.com.info@gmail.com',
    styleFamily: MonaStyleFamily.monaStyleFamilyName,
    styleName: MonaStyleFamily.juuwleStyleName,
    homePages: homePages,
    ownerID: ownerID,
    appStatus: AppStatus.live,
  );
  return await AbstractMainRepositorySingleton.singleton
      .appRepository()!
      .update(application);
}