GiphyGif class
A giphy gif, sticker or emoji
Constructors
- GiphyGif({required String title, required String type, required String id, required String slug, required String url, required String bitlyUrl, required GiphyImages images, String? embedUrl, String? username, String? source, GiphyRating? rating, String? contentUrl, String? sourceTld, String? sourcePostUrl, DateTime? createDateTime, DateTime? importDateTime, DateTime? trendingDateTime, GiphyUser? user})
-
Creates a new GIF instance
const
-
GiphyGif.fromJson(Map<
String, dynamic> json) -
Creates a new GIF instance from
json
factory
Properties
- bitlyUrl → String
-
The unique bit.ly URL for this GIF
final
- contentUrl → String?
-
Currently unused
final
- createDateTime → DateTime?
-
The date this GIF was added to the GIPHY database.
final
- embedUrl → String?
-
A URL used for embedding this GIF
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
The unique ID of the gif
final
- images → GiphyImages
-
Contains the available image data formats of this gif
final
- importDateTime → DateTime?
-
The creation or upload date from this GIF's source.
final
- rating → GiphyRating?
-
The MPAA-style rating for this content.
Examples include Y, G, PG, PG-13 and R
final
- recommendedMobileKeyboard → GiphyImage
-
Retrieves the recommended image for using this GIF
in a small picker scenario
no setter
- recommendedMobileSend → GiphyImage
-
Retrieves the recommended image sending / sharing this GIF
in a mobile scenario
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- slug → String
-
The unique slug used in this GIF's URL
final
- source → String?
-
The page on which this GIF was found
final
- sourcePostUrl → String?
-
The URL of the webpage on which this GIF was found.
final
- sourceTld → String?
-
The top level domain of the source URL.
final
- title → String
-
The title that appears on giphy.com for this GIF.
final
- trendingDateTime → DateTime?
-
The date on which this gif was marked trending, if applicable.
final
- type → String
-
The type of the gif
final
- url → String
-
The unique URL for this GIF
final
- user → GiphyUser?
-
An object containing data about the user associated with this GIF,
if applicable.
final
- username → String?
-
The username this GIF is attached to, if applicable
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this GIPHY to JSON
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override