uploadPlatformPhoto function

Future<PlatformMediumModel> uploadPlatformPhoto(
  1. AppModel app,
  2. String memberId,
  3. String photoLocation
)

Implementation

Future<PlatformMediumModel> uploadPlatformPhoto(
    AppModel app, String memberId, String photoLocation) async {
  return await PlatformMediumHelper(
          app, memberId, PrivilegeLevelRequiredSimple.noPrivilegeRequiredSimple)
      .createThumbnailUploadPhotoAsset(newRandomKey(), photoLocation);
}