toJson method

Map<String, dynamic> toJson()

Converts this GiphyVideoCaptions object to a JSON map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'en': videoCaption?.toJson(),
  };
}