InvidiousTrendingVideo constructor

const InvidiousTrendingVideo({
  1. required String title,
  2. required String videoId,
  3. required List<InvidiousThumbnailObject> videoThumbnails,
  4. required int lengthSeconds,
  5. required int viewCount,
  6. required String author,
  7. required String authorId,
  8. required String authorUrl,
  9. required int published,
  10. required String publishedText,
  11. required String description,
  12. required String descriptionHtml,
  13. required bool liveNow,
  14. bool? paid,
  15. required bool premium,
})

Implementation

const factory InvidiousTrendingVideo({
  required String title,
  required String videoId,
  required List<InvidiousThumbnailObject> videoThumbnails,
  required int lengthSeconds,
  required int viewCount,
  required String author,
  required String authorId,
  required String authorUrl,
  required int published,
  required String publishedText,
  required String description,
  required String descriptionHtml,
  required bool liveNow,
  bool? paid,
  required bool premium,
}) = _InvidiousTrendingVideo;