create method

Future<AlbumEntryModel> create(
  1. String path
)

Implementation

Future<AlbumEntryModel> create(String path) async {
  return AlbumEntryModel(
      documentID: newRandomKey(),
      name: 'example 1',
      medium: await PlatformMediumHelper(MinkeyApp.app, memberId,
              PrivilegeLevelRequiredSimple.level1PrivilegeRequiredSimple)
          .createThumbnailUploadPhotoAsset(newRandomKey(), path));
}