random method

Future<GiphyGif> random({
  1. String? tag,
  2. String rating = GiphyRating.g,
})

Implementation

Future<GiphyGif> random({
  String? tag,
  String rating = GiphyRating.g,
}) async {
  return _fetchGif(
    baseUri.replace(
      path: 'v1/gifs/random',
      queryParameters: <String, String?>{
        'tag': tag,
        'rating': rating,
      },
    ),
  );
}