Artist class

Constructors

Artist({required Map<String, dynamic> artistInfo})

Properties

apiPath String?
no setter
hashCode int
The hash code for this object.
no setterinherited
headerImageUrl String?
no setter
id int?
no setter
imageUrl String?
no setter
iq int?
no setter
isMemeVerified bool?
no setter
isVerified bool?
no setter
name String?
no setter
numSongs int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
songs List<Song>
no setter
toJson Map<String, dynamic>
Returns song data and this data have some fields that are not present in the Artist
no setter
url String?
no setter

Methods

addSong({required Song newSong, bool verbose = true, bool includeFeatures = false}) → void
Adds a song to the Artist.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveLyrics({required String destPath, String ext = '.lrc', bool overwite = true, bool verbose = true}) Future<void>
Save the lyrics of all the artist songs
song({required Genius client, required String songName}) Future<Song?>
Gets the artist's song return a Song in case of success and null otherwise.
toString() String
A string representation of this object.
inherited

Operators

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