Song class

Constructors

Song({required String id, required String albumId, required String album, required String label, required String title, required String subtitle, required String lowResImage, required String mediumResImage, required String highResImage, required Uri imageURI, required int playCount, required int year, required String permaURL, required bool hasLyrics, String? lyrics, required String copyRightText, required String mediaURL, String? previewMediaURL, required Duration duration, required DateTime releaseDate, required List<Artist> allArtists})
const

Properties

album String
final
albumId String
final
allArtists List<Artist>
final
artist List<Artist>
no setter
copyRightText String
final
duration Duration
final
featuredArtist List<Artist>
no setter
hashCode int
The hash code for this object.
no setteroverride
hasLyrics bool
final
highResImage String
final
id String
final
imageURI Uri
final
label String
final
lowResImage String
final
lyrics String?
final
mediaURL String
final
mediumResImage String
final
permaURL String
final
playCount int
final
previewMediaURL String?
final
primaryArtist List<Artist>
no setter
releaseDate DateTime
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subtitle String
final
title String
final
year int
final

Methods

copyWith({String? id, String? albumId, String? album, String? label, String? title, String? subtitle, String? lowResImage, String? mediumResImage, String? highResImage, Uri? imageURI, int? playCount, int? year, String? permaURL, bool? hasLyrics, String? lyrics, String? copyRightText, String? mediaURL, String? previewMediaURL, Duration? duration, DateTime? releaseDate, List<Artist>? allArtists}) Song
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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