list method
Uploads a VideoItem to YouTube and optionally sets the video's metadata.
Implementation
Future<VideoListResponse> list({
String part = 'snippet,status,contentDetails',
List<String> partList = const [],
String? chart,
String? id,
String? myRating,
bool? hl,
int? maxHeight,
int? maxResults,
int? maxWidth,
String? onBehalfOfContentOwner,
String? pageToken,
String? regionCode,
String? videoCategoryId,
}) async {
return await _rest.list(
accept,
buildParts(partList, part),
chart: chart,
id: id,
myRating: myRating,
hl: hl,
maxHeight: maxHeight,
maxResults: maxResults,
maxWidth: maxWidth,
onBehalfOfContentOwner: onBehalfOfContentOwner,
pageToken: pageToken,
regionCode: regionCode,
videoCategoryId: videoCategoryId,
);
}