GiphyVideo class

A class representing a Giphy video

Constructors

GiphyVideo({String? hlsManifestURL, String? dashManifestURL, GiphyAssets? assets, GiphyVideoPreviews? previews, GiphyVideoCaptions? captions, double? duration})
Creates a new GiphyVideo instance.
const
GiphyVideo.fromJson(Map<Object?, Object?> json)
Factory constructor to create a new GiphyVideo instance from a JSON map.
factory

Properties

assets → GiphyAssets?
The assets related to the Giphy video.
final
captions → GiphyVideoCaptions?
The captions for the Giphy video.
final
dashManifestURL → String?
The URL for the DASH manifest.
final
duration → double?
The duration of the Giphy video in seconds.
final
hashCode → int
The hash code for this object.
no setterinherited
hlsManifestURL → String?
The URL for the HLS manifest.
final
previews → GiphyVideoPreviews?
The preview versions of the Giphy video.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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