trending method
Future<GiphySource>
trending({
- GiphyRating rating = GiphyRating.g,
- String lang = GiphyLanguage.english,
- GiphyType type = GiphyType.gifs,
Retrieve the trending GIFs or Stickers.
Optionally specify the two-letter language code in lang
to
localize the experience.
You can change the rating
which defaults to GiphyRating.g
meaning all-ages content.
Set the type
to GiphyType.gifs (default) or GiphyType.stickers.
Implementation
Future<GiphySource> trending({
GiphyRating rating = GiphyRating.g,
String lang = GiphyLanguage.english,
GiphyType type = GiphyType.gifs,
}) =>
request(GiphyRequest(type, lang, rating));