CloudinaryUploadResource class
An abstraction object to upload a resourceType with fileName to a
folder in your specified cloudName
filePath path to the file to upload fileBytes byte array of the file to uploaded uploadPreset it's required only if you will make an unsigned upload resourceType defaults to CloudinaryResourceType.auto fileName is not mandatory, if not specified then a random name will be used publicId is not mandatory, if not specified then a random publicId will be used optParams a Map of optional parameters as defined in https://cloudinary.com/documentation/image_upload_api_reference progressCallback a callback to get the progress of the uploading data
Constructors
Properties
-
fileBytes
→ List<
int> ? -
final
- fileName → String?
-
final
- filePath → String?
-
final
- folder → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
optParams
→ Map<
String, dynamic> ? -
final
- progressCallback → ProgressCallback?
-
final
- publicId → String?
-
final
- resourceType → CloudinaryResourceType?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uploadPreset → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited