LazyResult class abstract

Abstract base for all search results.

Implementers

Constructors

LazyResult.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

album() Future<String>
Album of the song.
artists() Stream<String>
Artist(s) of the song.
artUrl() Future<String>
URL to the album art.
dlUrl() Future<String>
URL to a downloadable stream from the given source.
hasAlbum() Future<bool>
Whether the song has an album.
hasArtists() Future<bool>
Whether the song has any artists.
hasArtUrl() Future<bool>
Whether the song has an album art.
hasDlUrl() Future<bool>
Whether the song has a download URL.
hasDuration() Future<bool>
Whether the song has a duration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sDuration() Future<int>
Duration of the song in seconds.
source() Future<Source>
Source of the song.
srcUrl() Future<String>
URL of the song from the given source.
title() Future<String>
Title of the song.
toResult() Future<Result>
Convert LazyResult into Result.
toString() String
A string representation of this object.
inherited

Operators

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