ChannelLink class
Represents a channel link.
- Annotations
-
- @freezed
Constructors
- ChannelLink(String title, Uri url, @Deprecated('As of at least 26-08-2023 YT no longer provides icons for links, so this URI is always empty') Uri icon)
-
Initialize an instance of ChannelLink
constfactory
Properties
-
copyWith
→ $ChannelLinkCopyWith<
ChannelLink> -
Create a copy of ChannelLink
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Uri
-
Link Icon URL.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String
-
Link title.
no setterinherited
- url → Uri
-
Link URL.
Already decoded with the YouTube shortener already taken out.
no setterinherited
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