mucke/lib/domain/entities/album.dart

20 lines
398 B
Dart
Raw Normal View History

2020-03-24 22:17:03 +01:00
import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
class Album extends Equatable {
2020-03-26 11:58:30 +01:00
Album({
@required this.title,
@required this.artist,
this.albumArtPath,
this.pubYear,
2020-03-26 11:58:30 +01:00
});
2020-03-24 22:17:03 +01:00
final String title;
final String artist;
final int pubYear;
2020-03-24 22:17:03 +01:00
final String albumArtPath;
@override
List<Object> get props => [title, artist, albumArtPath, pubYear];
2020-03-24 22:17:03 +01:00
}