SubtitleTrack class
Hold information about a single caption track of a YouTube video.
Constructors
- SubtitleTrack.new({required String baseUrl, required String name, required String languageCode})
-
const
Properties
- baseUrl → String
-
Base URL of the caption track. This is used to get actual subtitles.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- languageCode → String
-
The language code of the caption track.
final
- name → String
-
The name of the caption track (e.g.
"English"
).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override