File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- import 'video_type.dart' ;
2
-
3
1
import '../common/common.dart' ;
4
2
import '../extensions/helpers_extension.dart' ;
5
3
import '../playlists/playlists.dart' ;
@@ -136,6 +134,7 @@ class ChannelClient {
136
134
137
135
/// Enumerates videos uploaded by the specified channel.
138
136
/// This fetches thru all the uploads pages of the channel.
137
+ /// The content by default is sorted by time of upload.
139
138
///
140
139
/// Use .nextPage() to fetch the next batch of videos.
141
140
Future <ChannelUploadsList > getUploadsFromPage (
Original file line number Diff line number Diff line change
1
+ import 'package:meta/meta.dart' ;
2
+
1
3
/// Metadata about video are sorted with [ChannelClient.getUploadsFromPage]
2
4
enum VideoSorting {
3
5
newest._('dd' ),
@@ -6,6 +8,7 @@ enum VideoSorting {
6
8
7
9
/// Code used to fetch the video.
8
10
/// Used internally.
11
+ @internal
9
12
final String code;
10
13
11
14
const VideoSorting ._(this .code);
Original file line number Diff line number Diff line change 1
- /// The type of the video you want to get.
2
- ///
3
- /// Will filter only by the type you want.
1
+ import 'package:meta/meta.dart' ;
2
+
3
+ /// Video types provided by Youtube
4
4
enum VideoType {
5
5
/// Default horizontal video
6
6
normal ('videos' , 'videoRenderer' ),
@@ -9,6 +9,9 @@ enum VideoType {
9
9
shorts ('shorts' , 'reelItemRenderer' );
10
10
11
11
final String name;
12
+
13
+ @internal
12
14
final String youtubeRenderText;
15
+
13
16
const VideoType (this .name, this .youtubeRenderText);
14
17
}
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ homepage: https://github.com/Hexer10/youtube_explode_dart
5
5
6
6
topics :
7
7
- youtube
8
- - lints
9
8
- video
10
9
- streams
11
10
You can’t perform that action at this time.
0 commit comments