mucke/lib/domain/entities/queue_item.dart
2020-12-15 21:09:58 +01:00

15 lines
280 B
Dart

import 'song.dart';
class QueueItem {
QueueItem(
this.song, {
this.originalIndex,
this.type = QueueItemType.standard,
});
final Song song;
final int originalIndex;
final QueueItemType type;
}
enum QueueItemType { standard, predecessor, successor, added }