Channel constructor

const Channel(
  1. ChannelId id,
  2. String title,
  3. String logoUrl,
  4. String bannerUrl,
  5. int? subscribersCount,
)

Implementation

const factory Channel(
  /// Channel ID.
  ChannelId id,

  /// Channel title.
  String title,

  /// URL of the channel's logo image.
  String logoUrl,

  /// URL of the channel's banner image.
  String bannerUrl,

  /// The (approximate) channel subscriber's count.
  int? subscribersCount,
) = _Channel;