GiphyPreviewImage class

Data on a version of this GIF in .MP4 format limited to 50kb that displays the first 1-2 seconds of the GIF.

Inheritance

Constructors

GiphyPreviewImage({required String width, required String height, required String mp4, required String mp4Size})
Creates a new preview image
const
GiphyPreviewImage.fromJson(Map<String, dynamic> json)
Creates a new preview image from json
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
height String
The height of this image in pixels, e.g. "300"
finalinherited
heightDouble double
The height of this image in pixels, e.g. 300.0
no setterinherited
heightInt int
The height of this image in pixels, e.g. 300
no setterinherited
mp4 String
The URL for this GIF in .MP4 format.
final
mp4Size String
The size of this file in bytes.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size String
The size of this image data in bytes, e.g. "62923"
finalinherited
sizeInt int
The size of this image data in bytes, e.g. 62923
no setterinherited
url String
The download URL of this image data
finalinherited
width String
The width of this image in pixels, e.g. "200"
finalinherited
widthDouble double
The width of this image in pixels, e.g. 200.0
no setterinherited
widthInt int
The width of this image in pixels, e.g. 200
no setterinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
override