uploadPublicPhoto static method

Future<PublicMediumModel> uploadPublicPhoto(
  1. AppModel app,
  2. String memberId,
  3. String assetPath
)

Implementation

static Future<PublicMediumModel> uploadPublicPhoto(
    AppModel app, String memberId, String assetPath) async {
  var docID = newRandomKey();
  return await PublicMediumHelper(
    app,
    memberId,
  ).createThumbnailUploadPhotoAsset(
    docID,
    assetPath,
  );
}