uploadPlatformPdf static method
Future<PlatformMediumModel>
uploadPlatformPdf(
- AppModel app,
- String memberId,
- String assetPath,
- String documentID,
- 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);
}