requestVideosWithKeyword method

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

request videos for a given keyword or search term

pageing is prepared but not used yet

Implementation

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