YoutubeMusicResult class

A search result from YouTube Music.

Note

Inheritance

Constructors

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

Properties

album → String
Album of the track.
final
artists → List<String>
Artists of the track.
final
artUrl → String
Art URL of the track.
final
dlUrl → String
Download URL of the track.
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 track in seconds.
final
source → Source
Source of the track.
final
srcUrl → String
Source URL of the track.
final
title → String
Title of the track.
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