SpotifyResult class

A search result (Track) from Spotify.

Note

Inheritance

Constructors

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

Properties

album String
Album of the song.
final
artists List<String>
Artist(s) of the song.
final
artUrl String
The URL to the album art.
final
diskNumber int
The disk number of the track. 1 unless from an multi-disk album.
final
dlUrl String?
URL to a downloadable stream from the given source.
final
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
trackNumber int
The track number of the album disk.
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