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: 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);
}