profileModel static method

ProfileModel profileModel(
  1. AppModel app,
  2. String uniqueId,
  3. String componentIdentifier,
  4. FeedModel feed,
)

Implementation

static ProfileModel profileModel(
  AppModel app,
  String uniqueId,
  String componentIdentifier,
  FeedModel feed,
) {
  return ProfileModel(
    documentID: constructDocumentId(
        uniqueId: uniqueId, documentId: componentIdentifier),
    feed: feed,
    appId: app.documentID,
    description: "My Profile",
    conditions: StorageConditionsModel(
        privilegeLevelRequired:
            PrivilegeLevelRequiredSimple.noPrivilegeRequiredSimple),
  );
}