FeedItemDetails class Null safety

Constructors

FeedItemDetails({int? index, required String videoId, double? duration})

Properties

duration double?
The total duration of the video
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
index int?
The index of the thumbnail tapped in the video feed.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
videoId String
A unique id for the video.
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