CutTransformation class

Cuts out a video fragment based on the following parameters: start, length

See https://uploadcare.com/docs/transformations/video-encoding/#operation-cut

Example:

CutTransformation(
  const const Duration(seconds: 109),
  length: const Duration(
    seconds: 30,
  ),
)
// or
CutTransformation(
  const const Duration(seconds: 109),
  end: true,
)
Inheritance
Implemented types

Constructors

CutTransformation(Duration start, {Duration? length, bool? end = true})

Properties

delimiter String
Instruction delimiter
no setterinherited
end bool?
Includes all the duration of your input starting at start.
final
hashCode int
The hash code for this object.
no setterinherited
length Duration?
Defines the duration of that fragment.
final
operation String
CDN API operation URL directive
no setteroverride
params List<String>
Related parameters
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start Duration
Defines the starting point of a fragment to cut based on your input file timeline.
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 ==(dynamic other) bool
The equality operator.
inherited