UploadPresetsApi class
Admin endpoints for upload presets.
Constructors
- UploadPresetsApi(CloudinaryTransport _transport)
-
Creates an upload presets API bound to
_transport.
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
-
create(
{required String name, bool unsigned = false, Map< String, dynamic> ? settings}) → Future<AdminAck> - Creates a preset.
-
delete(
String name) → Future< AdminAck> - Deletes a preset.
-
get(
String name) → Future< UploadPreset> - Fetches one preset by name.
-
list(
{int? maxResults, String? nextCursor}) → Future< UploadPresetListResult> - Lists upload presets.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
String name, {bool? unsigned, Map< String, dynamic> ? settings}) → Future<AdminAck> - Updates a preset.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited