toChannel method

Channel toChannel()

Convert this ChannelMin instance to a Channel instance.

Implementation

Channel toChannel() => Channel(
      id: id,
      name: name,
      englishName: englishName,
      type: type,
      photo: photo,
      organization: organization,
      videoCount: videoCount,
      subscriberCount: subscriberCount,
      viewCount: viewCount,
      clipCount: clipCount,
      lang: Language.all,
    );