ChannelResponse class
///A channel resource contains information about a YouTube channel.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
ChannelResponse({required String kind, required String etag, String? nextPageToken, String? prevPageToken, required PageInfo pageInfo, required List<
ChannelItem> items}) -
ChannelResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- etag → String
-
The Etag of this resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
→ List<
ChannelItem> -
A list of channels that match the request criteria.
final
- kind → String
-
Identifies the API resource's type. The value will be youtube#channelListResponse.
final
- 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
- pageInfo → PageInfo
-
The pageInfo object encapsulates paging information for the result set.
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. Note that this property is not included in the API response if the corresponding API request set the managedByMe parameter to true.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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