getUploads method Null safety

Stream<Video> getUploads(
  1. dynamic channelId
)

Enumerates videos uploaded by the specified channel. If you want a full list of uploads see getUploadsFromPage

Implementation

Stream<Video> getUploads(dynamic channelId) {
  channelId = ChannelId.fromString(channelId);
  var playlistId = 'UU${(channelId.value as String).substringAfter('UC')}';
  return PlaylistClient(_httpClient).getVideos(PlaylistId(playlistId));
}