GiphyOriginalImage class
The description of an original image
- Inheritance
-
- Object
- GiphyImage
- GiphyOriginalImage
Constructors
- GiphyOriginalImage({required String url, required String width, required String height, required String size, required String frames, required String mp4, required String mp4Size, String? webp, String? webpSize, String? hash})
-
Creates a new original image
const
-
GiphyOriginalImage.fromJson(Map<
String, dynamic> json) -
Creates a new original image from
json
factory
Properties
- frames → String
-
The number of frames in this GIF.
final
- framesInt → int
-
The number of frames in this GIF as integer.
no setter
- hash → String?
-
The hash of the image, not officially supported
final
- 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 in bytes of the .MP4 file corresponding to this GIF.
final
- mp4SizeInt → int
-
The size in bytes of the .MP4 file corresponding to this GIF.
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"
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