Video class
Video
- Implemented types
Constructors
-
Video({required String $id, required String $createdAt, required String $updatedAt, required List<
String> $permissions, required String bucketId, required String fileId, required String name, required int size, required String format, required int duration, required int width, required int height, required String aspectRatio, required String videoCodec, required String videoFormat, required String videoFormatProfile, required int videoBitRate, required double videoFrameRate, required String videoFrameRateMode, required String audioCodec, required String audioFormat, required int audioBitRate, required int audioSampleRate, required VideoTimelineStatus timelineStatus, required String timelineError}) -
Video.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Video creation time in ISO 8601 format.
final
- $id → String
-
Video ID.
final
-
$permissions
→ List<
String> -
Video permissions. Learn more about permissions.
final
- $updatedAt → String
-
Video update date in ISO 8601 format.
final
- aspectRatio → String
-
Video aspect ratio.
final
- audioBitRate → int
-
Audio bitrate in bits per second.
final
- audioCodec → String
-
Audio codec.
final
- audioFormat → String
-
Audio format.
final
- audioSampleRate → int
-
Audio sample rate in hertz.
final
- bucketId → String
-
Storage bucket ID holding the source file.
final
- duration → int
-
Video duration in milliseconds.
final
- fileId → String
-
Source file ID.
final
- format → String
-
Container format.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
Video height in pixels.
final
- name → String
-
Video name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Source file size in bytes.
final
- timelineError → String
-
Why the timeline job failed. Empty unless
timelineStatusiserror.final - timelineStatus → VideoTimelineStatus
-
Thumbnail timeline job status: one of
pending,started,ready,skipped(source has no video track) orerror.final - videoBitRate → int
-
Video bitrate in bits per second.
final
- videoCodec → String
-
Video codec.
final
- videoFormat → String
-
Video format.
final
- videoFormatProfile → String
-
Video format profile.
final
- videoFrameRate → double
-
Video frame rate in frames per second.
final
- videoFrameRateMode → String
-
Video frame rate mode.
final
- width → int
-
Video width in pixels.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited