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