getChannelVideos method
Future<PaginatedVideos>
getChannelVideos(
- String channelId, {
- 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 queriedfilter
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,
);
}