ChannelResponse class

A channel resource contains information about a YouTube channel.

Annotations
  • @JsonSerializable()

Constructors

ChannelResponse({required String kind, required String etag, String? nextPageToken, String? prevPageToken, required PageInfo? pageInfo, List<ChannelItem>? channelItems})
ChannelResponse.fromJson(Map<String, dynamic> json)
factory

Properties

channelItems List<ChannelItem>?
Identifies the API resource's type. The value will be youtube#channelListResponse. A list of channels that match the request criteria.
final
etag String
The Etag of this resource.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
items List<ChannelItem>
no setter
kind String
Identifies the API resource's type. The value will be youtube#searchListResponse.
finalinherited
nextPageToken String?
The token that can be used as the value of the pageToken parameter to retrieve the next page in the result set.
finalinherited
pageInfo → PageInfo?
The pageInfo object encapsulates paging information for the result set.
finalinherited
prevPageToken String?
The token that can be used as the value of the pageToken parameter to retrieve the previous page in the result set.
finalinherited
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