ClosedCaptionTrackInfo class
Metadata associated with a certain ClosedCaptionTrack
- Annotations
-
- @freezed
Constructors
- ClosedCaptionTrackInfo(Uri url, Language language, {@Default(false) bool isAutoGenerated, required ClosedCaptionFormat format})
-
Initializes an instance of ClosedCaptionTrackInfo
constfactory
-
ClosedCaptionTrackInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $ClosedCaptionTrackInfoCopyWith<
ClosedCaptionTrackInfo> -
Create a copy of ClosedCaptionTrackInfo
with the given fields replaced by the non-null parameter values.
no setterinherited
- format → ClosedCaptionFormat
-
Track format
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAutoGenerated → bool
-
Whether the associated track was automatically generated.
no setterinherited
- language → Language
-
Language of the associated track.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → Uri
-
Manifest URL of the associated track.
no setterinherited
Methods
-
autoTranslate(
String lang) → ClosedCaptionTrackInfo - Returns this auto-translated to another language. Keeping the same format.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this ClosedCaptionTrackInfo to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited