ChannelData class
Channel Data
Constructors
-
ChannelData({required int id, String? url, required String displayName, required int? parent, required String slug, required ChannelType type, required ChannelContentType contentType, required UserData user, required String? bannerImage, required String shortDisplayName, required String description, required String? metadataDescription, required bool hasChildren, required bool? isVisible, required bool? isPrivate, required bool? isLive, required GifData? featuredGif, required String? screensaverGif, required List<
ChannelTagData> tags, required DateTime? liveSinceDatetime, required DateTime? liveUntilDatetime, required List<ChannelData> ancestors, required List<ChannelTagData> syncableTags}) -
ChannelData.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
ancestors
→ List<
ChannelData> -
List of parent channels
final
-
Channel banner image URL
final
-
Channel banner image URL
no setter
- contentType → ChannelContentType
-
final
- description → String
-
Channel description
final
- displayName → String
-
The display name of the channel
final
- featuredGif → GifData?
-
An object containing data about the channel's featured gif
final
- hasChildren → bool
-
Indicates that the channel has sub-channels
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Channel unique ID
final
- isLive → bool?
-
Indicates that the channel is live
final
- isPrivate → bool?
-
Indicates the public visibility of the channel. A private channel can only be viewed by the owner.
final
- isVisible → bool?
-
Indicates that the channel is visible.
final
- liveSinceDatetime → DateTime?
-
final
- liveUntilDatetime → DateTime?
-
final
- metadataDescription → String?
-
Channel metadata description
final
- parent → int?
-
Parent Channel ID
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screensaverGif → String?
-
Channel screensaver GIF's ID
final
- shortDisplayName → String
-
The short display name of the channel
final
- slug → String
-
The unique channel slug. This slug is used in the channel URL
final
-
syncableTags
→ List<
ChannelTagData> -
List of channel syncable tags
final
-
List of channel tags
final
- type → ChannelType
-
final
- uri → Uri?
-
Channel relative URL
no setter
- url → String?
-
Channel relative URL
final
- user → UserData
-
An object containing data about the user associated with this Channel
final
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