getChannelVideos method

Future<PaginatedVideos> getChannelVideos(
  1. String channelId, {
  2. ChannelVideoFilter filter = const ChannelVideoFilter(includes: [], languages: [], limit: 25, offset: 0, paginated: true),
})

Get Videos From Channel, alias of getChannelRelatedVideos

Arguments

  • channelId ID of the Youtube Channel that is being queried
  • filter Filter the results returns by the API

Implementation

Future<PaginatedVideos> getChannelVideos(
  String channelId, {
  ChannelVideoFilter filter = const ChannelVideoFilter(
    includes: [],
    languages: [],
    limit: 25,
    offset: 0,
    paginated: true,
  ),
}) async {
  return await getChannelRelatedVideos(
    channelId,
    type: VideoSearchType.videos,
    filter: filter,
  );
}