getChannelVideos method Null safety
Get Videos From Channel
Alias of getVideosRelatedToChannel()
Returns VideoFullList
Arguments
channelId
ID of the Youtube Channel that is being queriedincludes
Request extra data be included in the results. They are not guarenteed to be returned.languages
List of Language enum to filter channels/clips. Official streams do not follow this parameterlimit
Result limit. Max of 50.offset
Offset resultspaginated
If paginated is set to true, returnsVideoFullList
with total, otherwise returnsVideoFullList
without the total.
Implementation
@override
Future<VideoFullList> getChannelVideos(
String channelId, {
List<Includes>? includes,
List<Language> languages = const [Language.all],
int limit = 25,
int offset = 0,
bool paginated = true,
}) async {
return await getVideosRelatedToChannel(channelId, type: VideoSearchType.videos, includes: includes, languages: languages, limit: limit, offset: offset, paginated: paginated);
}