createThumbnailUploadPdfAsset method

Future<T> createThumbnailUploadPdfAsset(
  1. String memberMediumDocumentID,
  2. String assetPath,
  3. String documentID, {
  4. PdfAvailable? feedbackFunction,
  5. FeedbackProgress? feedbackProgress,
})

Implementation

Future<T> createThumbnailUploadPdfAsset(
    String memberMediumDocumentID, String assetPath, String documentID,
    {PdfAvailable? feedbackFunction,
    FeedbackProgress? feedbackProgress}) async {
  print('createThumbnailUploadPdfAsset');
  var filePath =
      await AssetHelper.getFileFromAssets(memberMediumDocumentID, assetPath);

  return createThumbnailUploadPdfFile(
      memberMediumDocumentID, filePath, documentID,
      feedbackFunction: feedbackFunction, feedbackProgress: feedbackProgress);
}