setupApplication method
Future<AppModel>
setupApplication(
- AppHomePageReferencesModel homePages,
- String ownerID,
- PublicMediumModel? logo
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);
}