GiphyWebPImage class

A GIF image in .WEBP format

Inheritance

Constructors

GiphyWebPImage({required String url, required String width, required String height, required String size})
Creates a new .WEBP image
GiphyWebPImage.fromJson(Map<String, dynamic> json)
Creates a new .WEBP image from json
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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
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
inherited
toString() String
A string representation of this object.
inherited

Operators

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