Video constructor

Video(
  1. VideoId id,
  2. String title,
  3. String author,
  4. ChannelId channelId,
  5. DateTime uploadDate,
  6. String description,
  7. Duration duration,
  8. ThumbnailSet thumbnails,
  9. Iterable<String> keywords,
  10. Engagement engagement,
  11. [WatchPage watchPage]
)

Initializes an instance of Video

Implementation

Video(
    this.id,
    this.title,
    this.author,
    this.channelId,
    this.uploadDate,
    this.description,
    this.duration,
    this.thumbnails,
    Iterable<String> keywords,
    this.engagement,
    [this.watchPage])
    : keywords = UnmodifiableListView(keywords);