mucke/lib/domain/entities/queue_item.dart

16 lines
280 B
Dart
Raw Normal View History

2020-12-15 21:09:58 +01:00
import 'song.dart';
2020-10-21 20:58:55 +02:00
class QueueItem {
2020-12-13 12:37:08 +01:00
QueueItem(
this.song, {
this.originalIndex,
this.type = QueueItemType.standard,
});
2020-10-21 20:58:55 +02:00
2020-12-15 21:09:58 +01:00
final Song song;
2020-10-21 20:58:55 +02:00
final int originalIndex;
final QueueItemType type;
}
2020-12-13 12:37:08 +01:00
enum QueueItemType { standard, predecessor, successor, added }