Channel class

YouTube channel metadata.

Annotations
  • @freezed

Constructors

Channel(ChannelId id, String title, String logoUrl, String bannerUrl, int? subscribersCount)
const
factory

Properties

bannerUrl String
URL of the channel's banner image.
no setterinherited
copyWith → $ChannelCopyWith<Channel>
Create a copy of Channel with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id ChannelId
Channel ID.
no setterinherited
logoUrl String
URL of the channel's logo image.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscribersCount int?
The (approximate) channel subscriber's count.
no setterinherited
title String
Channel title.
no setterinherited
url String
Channel URL.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited