InvidiousTrendingVideo class

Annotations
  • @freezed

Constructors

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})
const
factory
InvidiousTrendingVideo.fromJson(Map<String, dynamic> json)
factory

Properties

author String
no setterinherited
authorId String
no setterinherited
authorUrl String
no setterinherited
copyWith → $InvidiousTrendingVideoCopyWith<InvidiousTrendingVideo>
Create a copy of InvidiousTrendingVideo with the given fields replaced by the non-null parameter values.
no setterinherited
description String
no setterinherited
descriptionHtml String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
lengthSeconds int
no setterinherited
liveNow bool
no setterinherited
no setterinherited
premium bool
no setterinherited
published int
no setterinherited
publishedText String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
no setterinherited
videoId String
no setterinherited
videoThumbnails List<InvidiousThumbnailObject>
no setterinherited
viewCount int
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this InvidiousTrendingVideo to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited