GiphyAsset class

A representation of a Giphy video asset, including its dimensions, URL, and format.

Constructors

GiphyAsset({int width = 0, int height = 0, String? url, String? format})
Creates a GiphyAsset with the given properties.
const
GiphyAsset.fromJson(Map<Object?, Object?> json)
Creates a GiphyAsset instance from a JSON map.
factory

Properties

format → String?
The format of the asset.
final
hashCode → int
The hash code for this object.
no setterinherited
height → int
The height of the asset.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url → String?
final
width → int
The width of the asset.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts the GiphyAsset instance to a JSON map.
toString() → String
A string representation of this object.
inherited

Operators

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