requestImages method

Future<PixabayResponse?> requestImages({
  1. int resultsPerPage = 30,
  2. int? page,
  3. String? category,
})

request random images by category

Implementation

Future<PixabayResponse?> requestImages(
    {int resultsPerPage = 30, int? page, String? category}) async {
  return requestMediaWithKeyword(
      media: MediaType.photo,
      resultsPerPage: resultsPerPage,
      page: page,
      category: category);
}