GiphyClient class

The client for accessing the Giphy API.

Constructors

GiphyClient({required String apiKey, Client? client})
Creates the client using specified API key.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

byId(String id) Future<GiphyGif>
Get GIF by ID returns a GIF’s metadata based on the GIF ID specified.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
random({String? tag, String rating = GiphyRating.g, bool sticker = false}) Future<GiphyGif>
Returns a single random gif or sticker related to the word or phrase entered.
Searches for GIF and/or Sticker images.
toString() String
A string representation of this object.
inherited
Returns a list of the most relevant and engaging content each and every day.

Operators

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

Static Properties

baseUri Uri
final