uploadPublicPdf static method

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

Implementation

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