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 resourceType defaults to CloudinaryResourceType.auto fileName is not mandatory, if not specified then a random name will be used optParams a Map of optional parameters as defined in https://cloudinary.com/documentation/image_upload_api_reference

Note: one of filePath or fileBytes must be set

Constructors

CloudinaryUploadResource({String? filePath, List<int>? fileBytes, String? fileName, String? folder, CloudinaryResourceType? resourceType, Map<String, dynamic>? optParams})

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
resourceType CloudinaryResourceType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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