toJson method
Converts this GiphyVideo instance to a JSON map.
Returns a JSON map representation of this instance.
Implementation
Map<String, dynamic> toJson() {
return {
'hlsManifestURL': hlsManifestURL,
'dashManifestURL': dashManifestURL,
'assets': assets?.toJson(),
'previews': previews?.toJson(),
'captions': captions?.toJson(),
'duration': duration,
};
}