GiphyVideoCaption class

A class representing the captions of a Giphy video in different formats.

Constructors

GiphyVideoCaption({String? srt, String? vtt})
Creates a new GiphyVideoCaption instance.
const
GiphyVideoCaption.fromJson(Map<Object?, Object?> json)
Creates a new GiphyVideoCaption instance from a JSON object.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
srt → String?
The SubRip Subtitle (SRT) format caption.
final
vtt → String?
The Web Video Text Tracks (VTT) format caption.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts this GiphyVideoCaption instance to a JSON object.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited