requestImagesWithKeyword method

Future<PixabayResponse> requestImagesWithKeyword ({String keyword, int resultsPerPage: 30, int page, String category })

pageing is prepared but not used yet request images for a given keyword or search term

Implementation

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