PlaylistItemListResponse class Null safety

A collection of playlist items that match the API request parameters. You can retrieve all of the playlist items in a specified playlist or retrieve one or more playlist items by their unique IDs. Try it now.

Annotations

Constructors

PlaylistItemListResponse({required String kind, required String etag, String? nextPageToken, String? prevPageToken, required PageInfo pageInfo, List<PlaylistItem>? playlistItemItems})
PlaylistItemListResponse.fromJson(Map<String, dynamic> json)
factory

Properties

etag String
The Etag of this resource.
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
items List<PlaylistItem>
read-only
kind String
Identifies the API resource's type. The value will be youtube#searchListResponse.
final, inherited
nextPageToken String?
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
final, inherited
pageInfo → PageInfo
The pageInfo object encapsulates paging information for the result set.
final, inherited
playlistItemItems List<PlaylistItem>?
A list of playlist items that match the request criteria.
@JsonKey(name: 'items'), final
prevPageToken String?
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
final, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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