trending method

Future<GiphyCollection> trending({
  1. int offset = 0,
  2. int limit = 30,
  3. String rating = GiphyRating.g,
})

Implementation

Future<GiphyCollection> trending({
  int offset = 0,
  int limit = 30,
  String rating = GiphyRating.g,
}) async {
  return _fetchCollection(
    baseUri.replace(
      path: 'v1/gifs/trending',
      queryParameters: <String, String>{
        'offset': '$offset',
        'limit': '$limit',
        'rating': rating,
      },
    ),
  );
}