Song class

Constructors

Song({required Map<String, dynamic> songInfo, required String lyrics})

Properties

annotationCount int?
no setter
apiPath String?
no setter
artist String?
Returns name of the primary artist
no setter
featuredArtists List<String>
no setter
fullTitle String?
no setter
hashCode int
The hash code for this object.
no setterinherited
headerImageThumbnailUrl String?
no setter
headerImageUrl String?
no setter
id int?
no setter
lyrics String?
no setter
lyricsOwnerId int?
no setter
lyricsState String?
no setter
path String?
no setter
primaryArtist Artist?
Return an Artist object
no setter
pyongsCount int?
no setter
releaseDate String?
no setter
releaseDateForDisplay String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
songArtImageThumbnailUrl String?
no setter
songArtImageUrl String?
no setter
stats Stats?
no setter
title String?
no setter
titleWithFeatured String?
no setter
toJson Map<String, dynamic>
Returns song data and this data have some fields that are not present in the Song
no setter
url String?
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveLyrics({required String fileName, bool overwite = true, bool verbose = true}) Future<void>
Save the lyrics of the song in a filename given by fileName
toString() String
A string representation of this object.
inherited

Operators

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