ChannelResponse class Null safety

A channel resource contains information about a YouTube channel.

Annotations

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.
@JsonKey(name: 'items'), final
etag String
The Etag of this resource.
final, inherited
hashCode int
The hash code for this object.
read-only, inherited
items List<ChannelItem>
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
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