Constructors
-
Channel({required String id, required String name, String? englishName, required ChannelType type, String? photo, Organization? org, String? suborg, String? banner, String? videoCount, String? subscriberCount, String? viewCount, int? clipCount, required Language lang, String? publishedAt, bool? inactive, String? description})
-
Returns a new Channel instance.
-
Channel.fromJson(String source)
-
factory
-
Channel.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
banner
→ String?
-
final
-
clipCount
→ int?
-
final
-
description
→ String?
-
final
-
englishName
→ String?
-
final, inherited
-
hashCode
→ int
-
The hash code for this object. [...]
read-only, inherited
-
id
→ String
-
final, inherited
-
inactive
→ bool?
-
final
-
lang
→ Language
-
final
-
name
→ String
-
final, inherited
-
org
→ Organization?
-
final
-
photo
→ String?
-
final, inherited
-
props
→ List<Object>
-
The list of properties that will be used to determine whether
two instances are equal.
read-only, override
-
publishedAt
→ String?
-
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-only, inherited
-
stringify
→ bool
-
If set to
true
, the toString method will be overridden to output
this instance's props. [...]
read-only, override
-
suborg
→ String?
-
final
-
subscriberCount
→ String?
-
final
-
final
-
type
→ ChannelType
-
final, inherited
-
videoCount
→ String?
-
final
-
viewCount
→ String?
-
final
Methods
-
copyWith({String? id, String? name, String? englishName, ChannelType? type, Organization? org, String? suborg, String? photo, String? banner, String? videoCount, String? subscriberCount, String? viewCount, int? clipCount, Language? lang, String? publishedAt, bool? inactive, String? description})
→ Channel
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson()
→ String
-
override
-
toMap()
→ Map<String, dynamic>
-
override
-
toString()
→ String
-
A string representation of this object. [...]
inherited