Album class Null safety

Constructors

Album({required String title, required List<Song> songs, required int albumTrackCount, required String artistName, required Uint8List? coverArt, required int discCount})

Properties

albumTrackCount int
The total tracks that the album has. [...]
read / write
artistName String
The name of the artist of the album.
read / write
coverArt Uint8List?
The cover art as a UInt8List. This can be used with Image.memory() to convert to an image and display in the UI.
read / write
discCount int
The total disc number of the album.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
songs List<Song>
The songs of the album.
read / write
title String
The title of the album.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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