ChannelMin constructor
const
ChannelMin({
- required String id,
- required String name,
- @JsonKey(name: 'english_name') String? englishName,
- ChannelType? type,
- String? photo,
- @JsonKey(name: 'org') String? organization,
- @JsonKey(name: 'video_count') int? videoCount,
- @JsonKey(name: 'subscriber_count') int? subscriberCount,
- @JsonKey(name: 'view_count') int? viewCount,
- @JsonKey(name: 'clip_count') int? clipCount,
Returns a new ChannelMin instance.
Implementation
const factory ChannelMin({
required String id,
required String name,
@JsonKey(name: 'english_name') String? englishName,
ChannelType? type,
String? photo,
@JsonKey(name: 'org') String? organization,
@JsonKey(name: 'video_count') int? videoCount,
@JsonKey(name: 'subscriber_count') int? subscriberCount,
@JsonKey(name: 'view_count') int? viewCount,
@JsonKey(name: 'clip_count') int? clipCount,
}) = _ChannelMin;