VideoCaption class
Video caption
- Implemented types
Constructors
- VideoCaption({required String $id, required String $createdAt, required String $updatedAt, required String videoId, required String bucketId, required String fileId, required String name, required String language, required bool xdefault, required bool embedded, required double targetDuration, required VideoCaptionStatus status, required String error, required int size})
-
VideoCaption.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $createdAt → String
-
Caption creation time in ISO 8601 format.
final
- $id → String
-
Caption ID.
final
- $updatedAt → String
-
Caption update date in ISO 8601 format.
final
- bucketId → String
-
Storage bucket ID holding the caption file.
final
- embedded → bool
-
Was this track auto-extracted from the source container? Extracted tracks have no backing file; extraction runs once per video, so a deleted extracted track is not re-created.
final
- error → String
-
Why the caption failed or was aborted. Empty unless
statusiserrororaborted.final - fileId → String
-
Caption file ID.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- language → String
-
Caption ISO 639-2 language code.
final
- name → String
-
Caption display name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
Stored caption size in bytes.
final
- status → VideoCaptionStatus
-
Packaging status: one of
pending,started,ready,errororaborted.final - targetDuration → double
-
Longest segment duration in seconds.
final
- videoId → String
-
Video ID.
final
- xdefault → bool
-
Is this the default caption track?
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