Album constructor
Album(- {@required String title,
- @required List<Song> songs,
- @required int albumTrackCount,
- @required String artistName,
- @required Image coverArt,
- @required int diskCount}
)
Implementation
Album(
{@required String title,
@required List<Song> songs,
@required int albumTrackCount,
@required String artistName,
@required Image coverArt,
@required int diskCount}) {
this.title = title;
this.songs = songs;
this.albumTrackCount = albumTrackCount;
this.artistName = artistName;
this.coverArt = coverArt;
this.diskCount = diskCount;
}