toJson method

Map<String, dynamic> toJson()

Converts this GiphyVideoCaption instance to a JSON object.

Returns a Map<String, dynamic> representing this GiphyVideoCaption.

Implementation

Map<String, dynamic> toJson() {
  return {
    'srt': srt,
    'vtt': vtt,
  };
}