GiphyAssets class
A class that represents various Giphy assets in different resolutions.
Constructors
- GiphyAssets.new({GiphyAsset? source, GiphyAsset? size360p, GiphyAsset? size480p, GiphyAsset? size720p, GiphyAsset? size1080p, GiphyAsset? size4k})
-
Creates a GiphyAssets instance with the given assets for different resolutions.
const
-
GiphyAssets.fromJson(Map<
Object?, Object?> json) -
Creates a GiphyAssets instance from a JSON object.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size1080p → GiphyAsset?
-
The asset with a resolution of 1080p.
final
- size360p → GiphyAsset?
-
The asset with a resolution of 360p.
final
- size480p → GiphyAsset?
-
The asset with a resolution of 480p.
final
- size4k → GiphyAsset?
-
The asset with a resolution of 4k.
final
- size720p → GiphyAsset?
-
The asset with a resolution of 720p.
final
- source → GiphyAsset?
-
The original source asset.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the GiphyAssets instance to a JSON object.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited