requestVideos method

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

request random videos

pageing is prepared but not used yet

Implementation

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