class ChannelDetails { const ChannelDetails({ required this.channelId, required this.title, required this.description, required this.thumbnailUrl, this.publishedAt, this.joinDateLabel, this.viewCount, this.subscriberCount, this.hiddenSubscriberCount = false, this.videoCount, this.country, }); final String channelId; final String title; final String description; final String thumbnailUrl; /// Channel creation date from the official YouTube Data API. final DateTime? publishedAt; /// Human-readable join date returned by the public YouTube About page. /// Used when no Google OAuth session is active. final String? joinDateLabel; /// Public total views for the channel. final int? viewCount; /// Public subscriber count. YouTube may hide it for some channels. final int? subscriberCount; final bool hiddenSubscriberCount; /// Number of public videos reported by YouTube. final int? videoCount; final String? country; }