uploadPlatformPdf static method

Future<PlatformMediumModel> uploadPlatformPdf(
  1. AppModel app,
  2. String memberId,
  3. String assetPath,
  4. String documentID,
  5. PrivilegeLevelRequiredSimple privilegeLevelRequiredSimple,
)

Implementation

static Future<PlatformMediumModel> uploadPlatformPdf(
    AppModel app,
    String memberId,
    String assetPath,
    String documentID,
    PrivilegeLevelRequiredSimple privilegeLevelRequiredSimple) async {
  var docID = newRandomKey();
  return await PlatformMediumHelper(
          app, memberId, privilegeLevelRequiredSimple)
      .createThumbnailUploadPdfAsset(docID, assetPath, documentID);
}