LazySpotifyResult class
- Inheritance
-
- Object
- LazyResult
- LazySpotifyResult
Constructors
-
LazySpotifyResult.new({required Future<
String> album(), required Future<String> artUrl(), required Stream<String> artists(), required Future<String> dlUrl(), required Future<int> sDuration(), required Future<String> srcUrl(), required Future<String> title(), required int diskNumber, required int trackNumber})
Properties
- diskNumber → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trackNumber → int
-
final
Methods
-
album(
) → Future< String> -
Album of the song.
override
-
artists(
) → Stream< String> -
Artist(s) of the song.
override
-
artUrl(
) → Future< String> -
URL to the album art.
override
-
dlUrl(
) → Future< String> -
URL to a downloadable stream from the given source.
override
-
hasAlbum(
) → Future< bool> -
Whether the song has an album.
inherited
-
hasArtists(
) → Future< bool> -
Whether the song has any artists.
inherited
-
hasArtUrl(
) → Future< bool> -
Whether the song has an album art.
inherited
-
hasDlUrl(
) → Future< bool> -
Whether the song has a download URL.
inherited
-
hasDuration(
) → Future< bool> -
Whether the song has a duration.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sDuration(
) → Future< int> -
Duration of the song in seconds.
override
-
source(
) → Future< Source> -
Source of the song.
override
-
srcUrl(
) → Future< String> -
URL of the song from the given source.
override
-
title(
) → Future< String> -
Title of the song.
override
-
toResult(
) → Future< Result> -
Convert LazyResult into Result.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited