Album constructor

Album(
  1. {@required String title,
  2. @required List<Song> songs,
  3. @required int albumTrackCount,
  4. @required String artistName,
  5. @required Image coverArt,
  6. @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;
}