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