TransloaditTemplate class

Object representation of a new Template

Inheritance

Constructors

TransloaditTemplate({required TransloaditClient client, required String name, Map<String, dynamic>? options})

Properties

client TransloaditClient
Reference to Transloadit client
getter/setter pairoverride
files Map<String, XFile>
Storage of files to be uploaded. Each file is stored with a key corresponding to its field name when it is being uploaded.
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
name String
Name of the Template.
getter/setter pair
options Map<String, dynamic>
Returns the Assembly options in a Transloadit-ready format.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps Map<String, dynamic>
Temporary storage of steps, later converted to options.
getter/setter pairinherited

Methods

addStep(String name, String robot, Map<String, dynamic> options) → void
Adds a step to the Assembly/Template, with the given robot and options
inherited
createTemplate() Future<TransloaditResponse>
Creates the Template using the options specified.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeStep(String name) → void
Removes a step from the Assembly/Template with this name
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited