SearchChannel constructor

const SearchChannel(
  1. ChannelId id,
  2. String name,
  3. String description,
  4. int videoCount,
)

Initialize a SearchChannel instance.

Implementation

//@With<BaseSearchContent>()
const factory SearchChannel(

    /// Channel id.
    ChannelId id,

    /// Channel name.
    String name,

    /// Description snippet.
    /// Can be empty.
    String description,

    /// Channel uploaded videos.
    int videoCount) = _SearchChannel;