ChannelItem class
A channel resource contains information about a YouTube channel.
- Annotations
-
- @JsonSerializable()
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.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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#searchListResponse.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- 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 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