createThumbnailUploadPdfFromUrl method
Future<T>
createThumbnailUploadPdfFromUrl(
- String memberMediumDocumentID,
- String url,
- String baseName,
- String documentID, {
- PdfAvailable? feedbackFunction,
- FeedbackProgress? feedbackProgress,
Implementation
Future<T> createThumbnailUploadPdfFromUrl(String memberMediumDocumentID,
String url, String baseName, String documentID,
{PdfAvailable? feedbackFunction,
FeedbackProgress? feedbackProgress}) async {
var theUri = Uri.parse(url);
final data = await http.get(theUri);
var fileData = data.bodyBytes;
return createThumbnailUploadPdfData(
memberMediumDocumentID, fileData, baseName, documentID,
feedbackFunction: feedbackFunction, feedbackProgress: feedbackProgress);
}