Caption class
A caption resource represents a YouTube caption track.
A caption track is associated with exactly one YouTube video.
Constructors
- Caption({String? etag, String? id, String? kind, CaptionSnippet? snippet})
- Caption.fromJson(Map json_)
Properties
- etag ↔ String?
-
Etag of this resource.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The ID that YouTube uses to uniquely identify the caption track.
getter/setter pair
- kind ↔ String?
-
Identifies what kind of resource this is.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- snippet ↔ CaptionSnippet?
-
The snippet object contains basic details about the caption.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited