19 lines
404 B
Dart
19 lines
404 B
Dart
import 'package:equatable/equatable.dart';
|
|
import 'package:meta/meta.dart';
|
|
|
|
class Album extends Equatable {
|
|
const Album({
|
|
@required this.title,
|
|
@required this.artist,
|
|
this.albumArtPath,
|
|
this.pubYear,
|
|
});
|
|
|
|
final String title;
|
|
final String artist;
|
|
final int pubYear;
|
|
final String albumArtPath;
|
|
|
|
@override
|
|
List<Object> get props => [title, artist, albumArtPath, pubYear];
|
|
}
|