CloudinaryPublic class
The base class for this package
Constructors
- CloudinaryPublic(String _cloudName, String _uploadPreset, {bool cache = false, Dio? dioClient})
Properties
Methods
-
getImage(
String publicId) → CloudinaryImage -
multiUpload(
List< Future< files, {String? uploadPreset, ProgressCallback? onProgress, void currentUploadIndex(int index)?}) → Future<CloudinaryFile> >List< CloudinaryResponse> > - Upload multiple files using simultaneously uploadFutureFile
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
uploadFile(
CloudinaryFile file, {String? uploadPreset, ProgressCallback? onProgress}) → Future< CloudinaryResponse> - Upload the cloudinary file to using the public api Override the default upload preset (when CloudinaryPublic is instantiated) with this one (if specified).
-
uploadFileInChunks(
CloudinaryFile file, {String? uploadPreset, ProgressCallback? onProgress, int chunkSize = 20000000}) → Future< CloudinaryResponse?> - Upload file in chunks default chunk size is 20 MB chunk size must be less than 20 MB and greater than 5 MB
-
uploadFiles(
List< CloudinaryFile> files, {String? uploadPreset}) → Future<List< CloudinaryResponse> > - Upload multiple files together
-
uploadFutureFile(
Future< CloudinaryFile> file, {String? uploadPreset, ProgressCallback? onProgress}) → Future<CloudinaryResponse> - Upload the file using uploadFile
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited