PlaylistItems class Null safety

Constructors

PlaylistItems({required Dio dio, String? token, String? apiKey})

Properties

accept String
final, inherited
apiKey String?
final
contentType String
final, inherited
dio Dio
final
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String?
final

Methods

buildParts(List<String> partList, String part) String
inherited
delete({required String id, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel}) Future<void>
Deletes a playlist.
insert({String part = 'contentDetails,id,localizations,player,snippet,status', List<String> partList = const [], required Map<String, dynamic> body, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel}) Future<Playlist>
Creates a playlist.
list({String part = 'contentDetails,id,localizations,player,snippet,status', List<String> partList = const [], String? playlistId, String? id, int? maxResults, String? onBehalfOfContentOwner, String? videoId, String? pageToken}) Future<PlaylistItemListResponse>
Returns a collection of playlists that match the API request parameters. For example, you can retrieve all playlists that the authenticated user owns, or you can retrieve one or more playlists by their unique IDs.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
update({String part = 'contentDetails,id,localizations,player,snippet,status', List<String> partList = const [], required Map<String, dynamic> body, String? onBehalfOfContentOwner, String? onBehalfOfContentOwnerChannel}) Future<Playlist>
Modifies a playlist. For example, you could change a playlist's title, description, or privacy status.

Operators

operator ==(Object other) bool
The equality operator.
inherited