GiphyVideoPreviewAsset class
A class representing the preview asset of a Giphy video.
Constructors
- GiphyVideoPreviewAsset.new({int width = 0, int height = 0, String? url})
-
Creates a GiphyVideoPreviewAsset object.
const
-
GiphyVideoPreviewAsset.fromJson(Map<
Object?, Object?> json) -
Creates a GiphyVideoPreviewAsset object from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
The height of the video preview asset.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → String?
-
The URL of the video preview asset.
final
- width → int
-
The width of the video preview asset.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this GiphyVideoPreviewAsset object to a JSON map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited