VideoSegment class

A VideoSegment is part of a video composition and can be loaded into the VideoEditor SDK editor.

Constructors

VideoSegment(String videoUri, {double? startTime, double? endTime})
Creates a new VideoSegment.
VideoSegment.fromJson(Map<String, dynamic> json)
Creates a VideoSegment from the json map.
factory

Properties

endTime double?
The end time in seconds.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime double?
The start time in seconds.
final
videoUri String
A URI for the video segment.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the VideoSegment for JSON parsing.
toString() String
A string representation of this object.
inherited

Operators

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