FeedItemDetails class Null safety

Constructors

FeedItemDetails({int? index, required String id, double? duration, required VideoFeedSource source})

Properties

duration double?
The total duration of the video. If the source is playlistGroup this value will always be 0; otherwise this value is the duration of the selected video.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The unique id of the thumbnail. If the source is playlistGroup this value will represent the playlist's id; otherwise this value is the id of the selected video
read / write
index int?
The index of the thumbnail tapped in the feed.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
source VideoFeedSource
The content source of the feed.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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