toVideo method

Video toVideo()

Converts this VideoFull instance to a Video instance.

Implementation

Video toVideo() => Video(
      id: id,
      title: title,
      type: type,
      topicId: topicId,
      publishedAt: publishedAt,
      availableAt: availableAt,
      duration: duration,
      status: status,
      startScheduled: startScheduled,
      startActual: startActual,
      endActual: endActual,
      liveViewers: liveViewers,
      description: description,
      songcount: songcount,
      channelId: channelId,
      channel: channel,
      language: language,
    );