uploadFutureFile method

Future<CloudinaryResponse> uploadFutureFile(
  1. Future<CloudinaryFile> file, {
  2. String? uploadPreset,
  3. ProgressCallback? onProgress,
})

Upload the file using uploadFile

Implementation

Future<CloudinaryResponse> uploadFutureFile(
  Future<CloudinaryFile> file, {
  String? uploadPreset,
  ProgressCallback? onProgress,
}) async {
  return uploadFile(
    await file,
    uploadPreset: uploadPreset,
    onProgress: onProgress,
  );
}