Video constructor

Video({
  1. String? videoId,
  2. String? duration,
  3. String? title,
  4. String? channelName,
  5. String? views,
  6. String? uploadDate,
  7. List<Thumbnail>? thumbnails,
})

Implementation

Video(
    {this.videoId,
    this.duration,
    this.title,
    this.channelName,
    this.views,
    this.uploadDate,
    this.thumbnails});