GiphyVideoCaption.fromJson constructor
Creates a new GiphyVideoCaption instance from a JSON object.
The keys srt and vtt in the JSON map should be of type String?.
Implementation
factory GiphyVideoCaption.fromJson(Map<Object?, Object?> json) {
return GiphyVideoCaption(
srt: json['srt'] as String?,
vtt: json['vtt'] as String?,
);
}