GiphyDownSampledImage class

A down-sampled image

Inheritance

Constructors

GiphyDownSampledImage({required String url, required String width, required String height, required String size, String? webp, String? webpSize})
Creates a new down-sampled image
GiphyDownSampledImage.fromJson(Map<String, dynamic> json)
Creates a new down-sampled 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
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
webp String?
The URL for this GIF in .webp format.
final
webpSize String?
The size in bytes of the .webp file corresponding to this GIF.
final
webpSizeInt int?
The size in bytes of the .webp file corresponding to this GIF.
no setter
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.
inherited

Operators

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