CloudinaryFileSource class sealed
Where the bytes of an upload come from.
CloudinaryFileSource.path('/path/to/photo.jpg'); // needs dart:io
CloudinaryFileSource.bytes(bytes, filename: 'photo.jpg');
CloudinaryFileSource.url('https://example.com/photo.jpg');
- Implementers
Constructors
- CloudinaryFileSource.bytes(Uint8List bytes, {String? filename})
-
Uploads an in-memory buffer.
constfactory
- CloudinaryFileSource.path(String path, {String? filename})
-
Uploads a file from the local filesystem.
constfactory
- CloudinaryFileSource.url(String url)
-
Asks Cloudinary to fetch the asset from a remote URL.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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