YouTubeResult class

A search result from YouTube.

Inheritance

Constructors

YouTubeResult.new({required List<String> artists, required String title, required String album, required int sDuration, required String srcUrl, required String dlUrl, required String artUrl, required Source source})
Creates a new YouTubeResult.

Properties

album → String
Album of the song.
final
artists → List<String>
Artist(s) of the song.
final
artUrl → String
URL to the album art.
final
dlUrl → String
URL to a downloadable stream from the given source.
final
hasAlbum → bool
Whether the song has an album.
no setterinherited
hasArtists → bool
Whether the song has any artists.
no setterinherited
hasArtUrl → bool
Whether the song has an album art.
no setterinherited
hasDlUrl → bool
Whether the song has a download URL.
no setterinherited
hasDuration → bool
Whether the song has a duration.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sDuration → int
Duration of the song in seconds.
final
source → Source
Source of the song.
final
srcUrl → String
URL of the song from the given source.
final
title → String
Title of the song.
final

Methods

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

Operators

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