ChannelItem class Null safety

A channel resource contains information about a YouTube channel.

Annotations

Constructors

ChannelItem({required String kind, required String etag, required String id, Snippet? snippet, ContentDetails? contentDetails, Statistics? statistics, BrandingSettings? brandingSettings})
ChannelItem.fromJson(Map<String, dynamic> json)
factory

Properties

brandingSettings → BrandingSettings?
The BrandingSettings object encapsulates information about the branding of the channel.
final
contentDetails → ContentDetails?
The ContentDetails object encapsulates information about the channel's content.
final
etag String
The Etag of this resource.
final
hashCode int
The hash code for this object.
read-only, inherited
id String
The ID that YouTube uses to uniquely identify the channel
final
kind String
Identifies the API resource's type. The value will be youtube#channel.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
snippet → Snippet?
The Snippet object contains basic details about the channel, such as its title, description, and thumbnail images.
final
statistics → Statistics?
The Statistics object encapsulates statistics for the channel.
final

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