GiphyImage class
Base class for images
Constructors
- GiphyImage(String url, String width, String height, String size)
-
Creates a new image
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → String
-
The height of this image in pixels, e.g.
"300"
final - heightDouble → double
-
The height of this image in pixels, e.g.
300.0
no setter - heightInt → int
-
The height of this image in pixels, e.g.
300
no setter - 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"
final - sizeInt → int
-
The size of this image data in bytes, e.g.
62923
no setter - url → String
-
The download URL of this image data
final
- width → String
-
The width of this image in pixels, e.g.
"200"
final - widthDouble → double
-
The width of this image in pixels, e.g.
200.0
no setter - widthInt → int
-
The width of this image in pixels, e.g.
200
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this image to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override